summaryrefslogtreecommitdiff
path: root/libre/parabola-keyring
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-20 00:01:55 +0000
committerroot <root@rshg054.dnsready.net>2012-07-20 00:01:55 +0000
commit226ac092dca4754b7b5a421e226c5971e3b607b2 (patch)
tree796c17bdf61c132bbe79e010febb2bca54e85c0e /libre/parabola-keyring
parent6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (diff)
Fri Jul 20 00:01:55 UTC 2012
Diffstat (limited to 'libre/parabola-keyring')
-rw-r--r--libre/parabola-keyring/PKGBUILD20
-rw-r--r--libre/parabola-keyring/parabola-keyring.install11
2 files changed, 31 insertions, 0 deletions
diff --git a/libre/parabola-keyring/PKGBUILD b/libre/parabola-keyring/PKGBUILD
new file mode 100644
index 000000000..432a5cf75
--- /dev/null
+++ b/libre/parabola-keyring/PKGBUILD
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: André Silva <emulatorman@lavabit.com>
+
+pkgname=parabola-keyring
+pkgver=20120719
+pkgrel=2
+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=('de7f518935faea83aaa4d74001be8ecc'
+ '22dd9f76911e4984a6cc625d9d1f9465')
diff --git a/libre/parabola-keyring/parabola-keyring.install b/libre/parabola-keyring/parabola-keyring.install
new file mode 100644
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
+}