blob: 721c22cfdb276c1dd1abe293f6a9ec03e3b5422b (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=protonup-qt
_app_id=net.davidotek.pupgui2
pkgver=2.11.1
pkgrel=1
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=('c0ef535fd7aafbca63be005a1c04828699ccd4c26c0943e32aaea2d5324395fc'
'732fd88026a801d64ffb85c98c1bc53536100524cced87ab86a112d83de07c1f')
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"
}
|