diff options
author | Cellebyte | 2018-09-19 11:45:36 +0200 |
---|---|---|
committer | Cellebyte | 2018-09-19 11:45:36 +0200 |
commit | d61ceae5e2508144168265ba26c116ad13b9dfb3 (patch) | |
tree | 41a25427f7ca28d7ea207e224c7e5f4997a18a68 /PKGBUILD | |
download | aur-d61ceae5e2508144168265ba26c116ad13b9dfb3.tar.gz |
Added initial PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e1e42a3a3c2f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +pkgname=python-hkp4py-git +pkgver=r5.7ea59dc +pkgrel=1 +pkgdesc="A Library for the hkp|hkps protocol on gpg|pgp keyservers." +url="https://github.com/Selfnet/hkp4py/" +license=('MIT') +arch=('any') +depends=('python-requests') +source=("git+https://github.com/Selfnet/hkp4py.git") +sha512sums=('SKIP') + +pkgver() { + cd "$srcdir"/hkp4py + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir"/hkp4py + python3 setup.py build +} + +package() { + cd "$srcdir"/hkp4py + python3 setup.py install --root="$pkgdir" --optimize=1 +} |