# Maintainer: Erich Eckner pkgname=python-pamela _pkgname=pamela pkgver=1.0.0 pkgrel=5 pkgdesc="Python PAM interface" arch=('any') url="https://github.com/minrk/pamela" license=('MIT') depends=( 'python>=3.9' 'python<3.10' 'pam' ) makedepends=( 'python-setuptools' ) source=("$_pkgname-$pkgver.tar.gz::https://github.com/minrk/$_pkgname/archive/${pkgver}.tar.gz") sha512sums=('28d263efd0d285d62c41c8c5f8603d88e7af85dfa1b4de5e6f16c4ba1951923eb93eaf6a931d84c2c4a4cbfde48c0b410a21aaaca49f707615cdaa0030fa8b78') package() { cd "$srcdir/$_pkgname-$pkgver" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 }