# Maintainer: Parabola automatic package builder pkgname=parabola-keyring pkgver=20191127 _gitver=89066299c593bd574bda1c97f2a5c9be3bb833cf pkgrel=1 pkgdesc='Parabola GNU/Linux-libre PGP keyring' arch=('any') url='https://git.parabola.nu/hackers.git/' license=('GPL') install=$pkgname.install source=("hackers-${_gitver}::git://git.parabola.nu/hackers.git#commit=${_gitver}") sha512sums=('SKIP') depends=('parabola-hackers') package() { cd "$srcdir" mv {,.}hackers-$_gitver mkdir .cachedir /usr/lib/parabola-hackers/pacman-make-keyring \ V="$pkgver" \ PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users" \ cachedir="$PWD/.cachedir" bsdtar xf "$pkgname-$pkgver.tar.gz" cd "$srcdir/$pkgname-$pkgver" make PREFIX=/usr DESTDIR="${pkgdir}" install }