From 140af5d159d16ddd259d4e98b8159f85b2dce62d Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 8 Aug 2012 19:01:06 -0500 Subject: archlinux-keyring --- abs/core/archlinux-keyring/PKGBUILD | 20 ++++++++++++++++++++ abs/core/archlinux-keyring/archlinux-keyring.install | 11 +++++++++++ 2 files changed, 31 insertions(+) create mode 100644 abs/core/archlinux-keyring/PKGBUILD create mode 100644 abs/core/archlinux-keyring/archlinux-keyring.install 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 + +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 +} -- cgit v0.12