29 lines
927 B
Plaintext
29 lines
927 B
Plaintext
pkgname=portprotonqt-git
|
|
pkgver=.
|
|
pkgrel=1
|
|
pkgdesc="A modern GUI for PortProton project.(developerment build)"
|
|
arch=('any')
|
|
url="https://git.linux-gaming.ru/Boria138/PortProtonQt"
|
|
license=('GPL-3.0')
|
|
depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson'
|
|
'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils')
|
|
makedepends=('python-'{'build','installer','setuptools','wheel'})
|
|
source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt.git")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "$srcdir/PortProtonQt"
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/PortProtonQt"
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/PortProtonQt"
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
cp -r build-aux/share "$pkgdir/usr/"
|
|
}
|