summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-19 11:18:30 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-19 11:18:30 -0300
commit1e4417fa238cd61e969e3e0892f253064bf5ee07 (patch)
treec6c8e2689116a8918d671c72431687b754238026 /libre
parent7150a34876ccafdef4eca5f497e2be209fb21931 (diff)
downloadabslibre-1e4417fa238cd61e969e3e0892f253064bf5ee07.tar.gz
abslibre-1e4417fa238cd61e969e3e0892f253064bf5ee07.tar.bz2
abslibre-1e4417fa238cd61e969e3e0892f253064bf5ee07.zip
adding new package called parabola-keyring
Diffstat (limited to 'libre')
-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..989887ad9
--- /dev/null
+++ b/libre/parabola-keyring/PKGBUILD
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: André Silva <emulatorman@lavabit.com>
+
+pkgname=parabola-keyring
+pkgver=20120719
+pkgrel=1
+pkgdesc='Parabola GNU/Linux-libre PGP keyring'
+arch=('any')
+url='https://projects.parabolagnulinux.org/hackers.git/'
+license=('GPL')
+install="${pkgname}.install"
+source=("ftp://ftp.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "ftp://ftp.parabolagnulinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig")
+md5sums=('35b53004acde18e02acd29889302d40a'
+ '4929c51b019dfba1a85320396631e4c0')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
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
+}