summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-pamela/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/python-pamela/PKGBUILD b/python-pamela/PKGBUILD
index 66fff6496..0c1ac50e3 100644
--- a/python-pamela/PKGBUILD
+++ b/python-pamela/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-pamela
+_pkgname=pamela
pkgver=0.3.0
pkgrel=2
pkgdesc="Python PAM interface"
@@ -8,11 +9,11 @@ arch=('any')
url="https://github.com/minrk/pamela"
license=('MIT')
depends=('pam' 'python>=3.6' 'python<3.7')
-source=("https://github.com/minrk/pamela/archive/${pkgver}.tar.gz")
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/minrk/$_pkgname/archive/${pkgver}.tar.gz")
sha512sums=('61987d169dd10372bff974963c62416417b8b559325c8f2ecc9aca01fa1dd2c9e7992507ca10c623156c5f18640ec2ee07f9e654c998bea63d79c4b28b29cfc6')
package() {
- cd "$srcdir/pamela-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}