summaryrefslogtreecommitdiff
path: root/python-simplepam/PKGBUILD
blob: d1c0cf9040b28fbb847ac7f846d876033aca8bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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"
arch=('any')
url="https://github.com/leonnnn/python3-simplepam"
license=('MIT')
depends=('pam' 'python>=3.6' 'python<3.7')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/leonnnn/python3-simplepam/archive/$pkgver.tar.gz")
sha512sums=('031fd8cb705d860fd1f370bd2a3cc788d1ec4a6a91cc25b548f0b11a5294dc2f57f246279e4503aaafc978f4e45df2d332bef5143c70bf4cf58d9445801b30df')

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}