diff options
author | Mark Wagie | 2024-01-21 11:05:09 -0700 |
---|---|---|
committer | Mark Wagie | 2024-01-21 11:05:09 -0700 |
commit | 2a65f8a3f555061c70c83c895994dbcfeee83423 (patch) | |
tree | 626de75b6f75f205934c482db6981c5101a2a3d5 | |
parent | 7d844379f220078e56689ea6a8c987127dffbccb (diff) | |
download | aur-protonup-git.tar.gz |
use SPDX license identifier
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 6 insertions, 6 deletions
@@ -4,7 +4,7 @@ pkgbase = protonup-git pkgrel = 1 url = https://github.com/AUNaseef/protonup arch = any - license = GPL3 + license = GPL-3.0-or-later makedepends = git makedepends = python-build makedepends = python-installer @@ -1,5 +1,5 @@ # Maintainer: Tobias Frisch <thejackimonster@gmail.com> -# Co-Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> +# Co-Maintainer: Mark Wagie <mark dot wagie at proton dot me> pkgname=protonup-git pkgver=0.1.5.r0.g54bcad9 @@ -7,7 +7,7 @@ pkgrel=1 pkgdesc="Install and Update Proton-GE" arch=('any') url="https://github.com/AUNaseef/protonup" -license=('GPL3') +license=('GPL-3.0-or-later') depends=('python' 'python-requests') makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel') provides=("${pkgname%-git}") @@ -16,16 +16,16 @@ source=('git+https://github.com/AUNaseef/protonup.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 } |