diff options
author | Mark Wagie | 2024-01-21 11:03:59 -0700 |
---|---|---|
committer | Mark Wagie | 2024-01-21 11:03:59 -0700 |
commit | b19faaf4aff694bc69c1717ed1565f70467b8172 (patch) | |
tree | 1528203e5b5870d14d7f08f5d31cd1bb8ffe7cbb | |
parent | 81b06468b2b04926c3936cbc4298d66dc9adbd3e (diff) | |
download | aur-b19faaf4aff694bc69c1717ed1565f70467b8172.tar.gz |
use SPDX license identifier
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -4,7 +4,7 @@ pkgbase = protontricks-git pkgrel = 1 url = https://github.com/Matoking/protontricks arch = any - license = GPL3 + license = GPL-3.0-or-later makedepends = git makedepends = python-build makedepends = python-installer @@ -6,7 +6,7 @@ pkgrel=1 pkgdesc="A simple wrapper that does winetricks things for Proton enabled games." arch=('any') url="https://github.com/Matoking/protontricks" -license=('GPL3') +license=('GPL-3.0-or-later') depends=('python-pillow' 'python-setuptools' 'python-vdf' 'winetricks') makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') @@ -18,17 +18,17 @@ source=('git+https://github.com/Matoking/protontricks.git') sha256sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname%-git}" + cd "${pkgname%-git}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "$srcdir/${pkgname%-git}" + cd "${pkgname%-git}" python -m build --wheel --no-isolation } package() { - cd "$srcdir/${pkgname%-git}" + cd "${pkgname%-git}" python -m installer --destdir="$pkgdir" dist/*.whl # Remove protontricks-desktop-install, since we already install |