From 579a660d43b963ab3e7cc5bbe793e6cbc9a7937c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 24 Apr 2017 14:59:47 -0400 Subject: libre/parabola-keyring: get ready for autobuilder --- libre/parabola-keyring/PKGBUILD | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'libre/parabola-keyring') diff --git a/libre/parabola-keyring/PKGBUILD b/libre/parabola-keyring/PKGBUILD index 38039fc71..159ecb22b 100644 --- a/libre/parabola-keyring/PKGBUILD +++ b/libre/parabola-keyring/PKGBUILD @@ -1,7 +1,8 @@ -# Maintainer: David P. +# Maintainer: Parabola automatic package builder pkgname=parabola-keyring pkgver=20170424 +_giver=none pkgrel=1 pkgdesc='Parabola GNU/Linux-libre PGP keyring' arch=('any') @@ -10,13 +11,26 @@ license=('GPL') install=$pkgname.install source=("http://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz" "http://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz.sig") -validpgpkeys=('6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P. -) sha512sums=('61c9d47c7e5e3eb20e7ed5ec9f4814762d476b1e69ef1fba5c9dcf5775627582ae0a27723ed182f6e1b17cfa52a1c966e629cac8bbade1b42a4cad8204afd370' 'SKIP') +validpgpkeys=('D3EAD7F9D076EB9AF650149DA170D6A0B669E21A') # Parabola automatic package builder + +mkdepends=('parabola-hackers') +mksource=("hackers-${_gitver}pkgver::git://git.parabola.nu/hackers.git#commit=${_gitver}") +mkmd5sums=('SKIP') + +mksource() { + 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" +} package() { cd "$srcdir/$pkgname-$pkgver" make PREFIX=/usr DESTDIR="${pkgdir}" install } - -- cgit v1.2.3