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

pkgname=python-pamela
_pkgname=pamela
pkgver=1.0.0
pkgrel=20
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
}