summaryrefslogtreecommitdiff
path: root/libre/parabola-keyring
diff options
context:
space:
mode:
Diffstat (limited to 'libre/parabola-keyring')
-rwxr-xr-xlibre/parabola-keyring/PKGBUILD19
-rwxr-xr-xlibre/parabola-keyring/parabola-keyring.install11
2 files changed, 30 insertions, 0 deletions
diff --git a/libre/parabola-keyring/PKGBUILD b/libre/parabola-keyring/PKGBUILD
new file mode 100755
index 000000000..8292119d8
--- /dev/null
+++ b/libre/parabola-keyring/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: André Silva <emulatorman@lavabit.com>
+
+pkgname=parabola-keyring
+pkgver=20121102
+pkgrel=1
+pkgdesc='Parabola GNU/Linux-libre PGP keyring'
+arch=('any')
+url='https://projects.parabolagnulinux.org/hackers.git/'
+license=('GPL')
+install="${pkgname}.install"
+source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz"
+ "http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz.sig")
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
+md5sums=('63c49a827ef05575514412ae76637c67'
+ '9b887e116a8e115a2ca082f65b3ea65a')
diff --git a/libre/parabola-keyring/parabola-keyring.install b/libre/parabola-keyring/parabola-keyring.install
new file mode 100755
index 000000000..1c70f1a8d
--- /dev/null
+++ b/libre/parabola-keyring/parabola-keyring.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate parabola
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}