summaryrefslogtreecommitdiff
path: root/python-pamela
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-09 15:27:10 +0200
committerErich Eckner <git@eckner.net>2018-07-09 15:27:10 +0200
commitb3ab10d19f54eb3e3581f90f1ee5883c136ba462 (patch)
tree423a8cdc2706ec99724d18836cc5ff0869bacc1f /python-pamela
parent26af7b78c32eb590a3dd13a6e572778d89ca904c (diff)
downloadarchlinuxewe-b3ab10d19f54eb3e3581f90f1ee5883c136ba462.tar.xz
python-pamela: cleanup
Diffstat (limited to 'python-pamela')
-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
}