summaryrefslogtreecommitdiff
path: root/python-pamela/PKGBUILD
blob: 0c1ac50e3d2621a9cf6611cd8a087eed7553195c (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-pamela
_pkgname=pamela
pkgver=0.3.0
pkgrel=2
pkgdesc="Python PAM interface"
arch=('any')
url="https://github.com/minrk/pamela"
license=('MIT')
depends=('pam' 'python>=3.6' 'python<3.7')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/minrk/$_pkgname/archive/${pkgver}.tar.gz")
sha512sums=('61987d169dd10372bff974963c62416417b8b559325c8f2ecc9aca01fa1dd2c9e7992507ca10c623156c5f18640ec2ee07f9e654c998bea63d79c4b28b29cfc6')

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