summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-simplepam/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/python-simplepam/PKGBUILD b/python-simplepam/PKGBUILD
index 68d7a1c4..d1c0cf90 100644
--- a/python-simplepam/PKGBUILD
+++ b/python-simplepam/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-simplepam
+_pkgname=python3-simplepam
pkgver=0.1.5
pkgrel=2
pkgdesc="Pure Python interface to the Pluggable Authentication Modules system on Linux"
@@ -8,11 +9,11 @@ arch=('any')
url="https://github.com/leonnnn/python3-simplepam"
license=('MIT')
depends=('pam' 'python>=3.6' 'python<3.7')
-source=(https://github.com/leonnnn/python3-simplepam/archive/$pkgver.tar.gz)
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/leonnnn/python3-simplepam/archive/$pkgver.tar.gz")
sha512sums=('031fd8cb705d860fd1f370bd2a3cc788d1ec4a6a91cc25b548f0b11a5294dc2f57f246279e4503aaafc978f4e45df2d332bef5143c70bf4cf58d9445801b30df')
package() {
- cd "$srcdir/python3-simplepam-$pkgver"
+ cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}