diff options
-rw-r--r-- | abs/core/archlinux-keyring/PKGBUILD | 20 | ||||
-rw-r--r-- | abs/core/archlinux-keyring/archlinux-keyring.install | 11 |
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 +} |