blob: 3e70c870bd21950a814e2853f3e5cfa3eba764f9 (
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
27
28
29
30
31
32
33
|
# Maintainer: Jaakko Sirén <jaakko.siren@pm.me>
_pkgname=python-pykerberos
pkgname=$_pkgname-git
pkgver=1.2.1.r7.g293be8f
pkgrel=1
pkgdesc="High-level interface to Kerberos"
arch=('x86_64')
license=('Apache')
url="https://github.com/02strich/pykerberos"
depends=('python' 'krb5')
makedepends=('python-setuptools')
provides=('python-pykerberos')
conflicts=('python-pykerberos')
source=(
"$_pkgname::git+https://github.com/02strich/pykerberos.git"
)
md5sums=('SKIP')
pkgver(){
cd "$srcdir/$_pkgname"
git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
build(){
cd "$_pkgname"
python setup.py build
}
package(){
cd "$_pkgname"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|