summaryrefslogtreecommitdiff
path: root/python-pamela/PKGBUILD
blob: b1ab731d0c77f17bb2a568f112719bfe9c449e0d (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=3
pkgdesc="Python PAM interface"
arch=('any')
url="https://github.com/minrk/pamela"
license=('MIT')
depends=(
  'python>=3.8'
  'python<3.9'
  '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
}