diff options
author | Erich Eckner <git@eckner.net> | 2018-07-09 15:27:48 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-09 15:27:48 +0200 |
commit | 7839e16491f1113223b7cc8344a1d5b7f9256b9f (patch) | |
tree | b3b487e739b8be3af2750eed6f3b8b682d973292 | |
parent | b3ab10d19f54eb3e3581f90f1ee5883c136ba462 (diff) | |
download | archlinuxewe-7839e16491f1113223b7cc8344a1d5b7f9256b9f.tar.xz |
python-simplepam: cleanup
-rw-r--r-- | python-simplepam/PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python-simplepam/PKGBUILD b/python-simplepam/PKGBUILD index 68d7a1c44..d1c0cf904 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 } |