summaryrefslogtreecommitdiff
path: root/libre/parabola-keyring/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-24 14:59:47 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-04-24 19:52:14 -0400
commit579a660d43b963ab3e7cc5bbe793e6cbc9a7937c (patch)
tree7f045363c66a9e0a0dea50b369e4a29602bec1e2 /libre/parabola-keyring/PKGBUILD
parent9c15d71fea971a94256ed24339b35b0917aee178 (diff)
downloadabslibre-579a660d43b963ab3e7cc5bbe793e6cbc9a7937c.tar.gz
abslibre-579a660d43b963ab3e7cc5bbe793e6cbc9a7937c.tar.bz2
abslibre-579a660d43b963ab3e7cc5bbe793e6cbc9a7937c.zip
libre/parabola-keyring: get ready for autobuilder
Diffstat (limited to 'libre/parabola-keyring/PKGBUILD')
-rw-r--r--libre/parabola-keyring/PKGBUILD22
1 files changed, 18 insertions, 4 deletions
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. <megver83@parabola.nu>
+# Maintainer: Parabola automatic package builder <autobuilder@parabola.nu>
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 <dev@lists.parabolagnulinux.org>
+
+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
}
-