summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-09 00:01:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-09 00:01:06 (GMT)
commit140af5d159d16ddd259d4e98b8159f85b2dce62d (patch)
tree4f72c2d2316c0f4ecde4fd4b37b4f3a93981eae9 /abs
parentaf3f9c550224eb16b13cc98a872c60f93991ad74 (diff)
downloadlinhes_pkgbuild-140af5d159d16ddd259d4e98b8159f85b2dce62d.zip
linhes_pkgbuild-140af5d159d16ddd259d4e98b8159f85b2dce62d.tar.gz
linhes_pkgbuild-140af5d159d16ddd259d4e98b8159f85b2dce62d.tar.bz2
archlinux-keyring
Diffstat (limited to 'abs')
-rw-r--r--abs/core/archlinux-keyring/PKGBUILD20
-rw-r--r--abs/core/archlinux-keyring/archlinux-keyring.install11
2 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/archlinux-keyring/PKGBUILD b/abs/core/archlinux-keyring/PKGBUILD
new file mode 100644
index 0000000..b0ff4f6
--- /dev/null
+++ b/abs/core/archlinux-keyring/PKGBUILD
@@ -0,0 +1,20 @@
+# $Id: PKGBUILD 162172 2012-06-22 16:21:47Z pierre $
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20120622
+pkgrel=1
+pkgdesc='Arch Linux PGP keyring'
+arch=('any')
+url='https://projects.archlinux.org/archlinux-keyring.git/'
+license=('GPL')
+install="${pkgname}.install"
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig")
+md5sums=('8fecc7ec4a9b51e3166b79a90930e7ce'
+ 'afa0253f24c6ba3fee22ae6c2150cb6c')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
diff --git a/abs/core/archlinux-keyring/archlinux-keyring.install b/abs/core/archlinux-keyring/archlinux-keyring.install
new file mode 100644
index 0000000..81726c6
--- /dev/null
+++ b/abs/core/archlinux-keyring/archlinux-keyring.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate archlinux
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}