summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df916d2cf58d7e297baaac973a2719aac12b8049 (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
pkgname=python-hkp4py-git
pkgver=r38.802ac36
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
}