summaryrefslogtreecommitdiff
path: root/python-pamela/PKGBUILD
blob: 91d77947f5efa17aca5ea21902ad562b66cd9ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Erich Eckner <arch at eckner dot net>

pkgname=python-pamela
_pkgname=pamela
pkgver=0.3.0
pkgrel='3'
pkgdesc="Python PAM interface"
arch=('any')
url="https://github.com/minrk/pamela"
license=('MIT')
depends=(
  'python>=3.7'
  'python<3.8'
  'pam'
)
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
}