# Maintainer: Parabola automatic package builder pkgname=parabola-keyring pkgver=20200323 _gitver=019c58d7d012b3163159a88fc16aeee79e9426f5 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') makedepends=('parabola-hackers' 'git') prepare() { cd "$srcdir" mv {,.}hackers-$_gitver mkdir .cachedir export PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users" /usr/lib/parabola-hackers/pacman-make-keyring \ V="$pkgver" \ cachedir="$PWD/.cachedir" } package() { cd "$srcdir" bsdtar xf "$pkgname-$pkgver.tar.gz" cd "$srcdir/$pkgname-$pkgver" make PREFIX=/usr DESTDIR="${pkgdir}" install }