summaryrefslogtreecommitdiff
path: root/python-simplepam/PKGBUILD
blob: 9d0192015b6d96b3c4b4ecffae4f1d32fa8cd7fa (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-simplepam
_pkgname=python3-simplepam
pkgver=0.1.5
pkgrel=70
pkgdesc="Pure Python interface to the Pluggable Authentication Modules system on Linux"
arch=('any')
url="https://github.com/leonnnn/python3-simplepam"
license=('MIT')
depends=(
  'python>=3.12'
  'python<3.13'
  'pam'
)
source=("$_pkgname-$pkgver.tar.gz::https://github.com/leonnnn/python3-simplepam/archive/$pkgver.tar.gz")
sha512sums=('031fd8cb705d860fd1f370bd2a3cc788d1ec4a6a91cc25b548f0b11a5294dc2f57f246279e4503aaafc978f4e45df2d332bef5143c70bf4cf58d9445801b30df')

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