blob: 7798fce74c8bdb2bd61b1643d99df2187fd17f95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=protonup-qt
_app_id=net.davidotek.pupgui2
pkgver=2.10.2
pkgrel=2
pkgdesc="Install and manage Proton-GE and Luxtorpeda for Steam and Wine-GE for Lutris"
arch=('any')
url="https://davidotek.github.io/protonup-qt"
license=('GPL-3.0-or-later')
depends=(
'pyside6'
'python-inputs'
'python-psutil'
'python-pyaml'
'python-pyxdg'
'python-requests'
'python-steam'
'python-vdf'
'python-zstandard'
'qt6-tools'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
checkdepends=('appstream' 'desktop-file-utils')
optdepends=(
'dosbox: required for Boxtron'
'git: required for SteamTinkerLaunch'
'inotify-tools: required for Boxtron & Roberta'
'scummvm: required for Roberta'
'timidity++: required for Boxtron'
'unzip: required for SteamTinkerLaunch'
'wget: required for SteamTinkerLaunch'
'xdotool: required for SteamTinkerLaunch'
'xorg-xprop: required for SteamTinkerLaunch'
'xorg-xrandr: required for SteamTinkerLaunch'
'xorg-xwininfo: required for SteamTinkerLaunch'
'xxd: required for SteamTinkerLaunch'
'yad: required for SteamTinkerLaunch'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v$pkgver.tar.gz"
"${_app_id}.sh")
sha256sums=('6f5cf2265777154bb03c1f5a488ae75487efbc7a5e673d8c1a64f68352d4f378'
'732fd88026a801d64ffb85c98c1bc53536100524cced87ab86a112d83de07c1f')
prepare() {
cd "ProtonUp-Qt-$pkgver"
}
build() {
cd "ProtonUp-Qt-$pkgver"
python -m build --wheel --no-isolation
}
check() {
cd "ProtonUp-Qt-$pkgver"
appstreamcli validate --no-net "share/metainfo/${_app_id}.appdata.xml" || :
desktop-file-validate "share/applications/${_app_id}.desktop"
}
package() {
cd "ProtonUp-Qt-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
cp -r share "$pkgdir/usr/"
install -Dm755 "$srcdir/${_app_id}.sh" "$pkgdir/usr/bin/${_app_id}"
ln -s /usr/bin/${_app_id} "$pkgdir/usr/bin/$pkgname"
}
|