blob: 183f69e989187c5b2bf9532217fa158837b4f4be (
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
|
# Maintainer: Arafat Zahan <kuasha420@gmail.com>
pkgname=python-simplepam-git
_pkgname=python-simplepam
pkgver=r31.b81a806
pkgrel=2
pkgdesc="Pure Python interface to the Pluggable Authentication Modules system on Linux. Git version"
arch=('any')
url="https://github.com/leonnnn/python3-simplepam/"
license=("MIT")
depends=("python" "pam")
makedepends=("git" "python")
source=("${pkgname%-*}::git+https://github.com/leonnnn/python3-simplepam.git")
sha1sums=("SKIP")
provides=("python-simplepam")
conflicts=("python-simplepam")
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
|