summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2021-12-14 13:01:32 +0300
committerCaleb Maclennan2021-12-14 13:01:32 +0300
commit99c7b4768d428a0b85b5d9fc2a347e6eb4cf092b (patch)
tree00cf5ffa849b42041a944d2ce72a3976312dedb8 /PKGBUILD
parentfd758235c98570dd9379d09ca0fe2918a0448d6c (diff)
downloadaur-99c7b4768d428a0b85b5d9fc2a347e6eb4cf092b.tar.gz
upgpkg: python-plum 0.7.0-2
Rebuild for Python 3.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 18ef6040a80..eaca9dae37b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,23 @@
_pipname=plum
pkgname=python-${_pipname,,}
pkgver=0.7.0
-pkgrel=1
+pkgrel=2
pkgdesc='Pack/Unpack Memory'
arch=(any)
url="https://$_pipname-py.readthedocs.io/en/latest/"
license=(MIT)
depends=(python)
makedepends=(python-setuptools)
-source=("https://gitlab.com/dangass/$_pipname/-/archive/$pkgver/$_pipname-$pkgver.tar.bz2")
+_archive="$_pipname-$pkgver"
+source=("https://gitlab.com/dangass/$_pipname/-/archive/$pkgver/$_archive.tar.bz2")
sha256sums=('ad3302aaddd76dba09a96c4006db1c899937c6c5b3ffbf495b69b1bb3bcc7701')
build() {
- cd "$_pipname-$pkgver"
+ cd "$_archive"
python setup.py build
}
package() {
- cd "$_pipname-$pkgver"
+ cd "$_archive"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}