diff options
author | Erich Eckner <git@eckner.net> | 2020-09-10 11:26:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-09-10 11:26:50 +0200 |
commit | 204b19276f0e3b862d5d8b3927c86d09ef6c6086 (patch) | |
tree | 76771b10d4e9f4b195549fef3e10da50363c6003 | |
parent | 91b49138d9cca3477aef8920bd18166dcc1fa32e (diff) | |
download | archlinuxewe-204b19276f0e3b862d5d8b3927c86d09ef6c6086.tar.xz |
archlinuxarm-keyring new
-rw-r--r-- | archlinuxarm-keyring/PKGBUILD | 21 | ||||
-rw-r--r-- | archlinuxarm-keyring/archlinuxarm-keyring.install | 11 |
2 files changed, 32 insertions, 0 deletions
diff --git a/archlinuxarm-keyring/PKGBUILD b/archlinuxarm-keyring/PKGBUILD new file mode 100644 index 000000000..36b21a16e --- /dev/null +++ b/archlinuxarm-keyring/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Kevin Mihelich <kevin@archlinuxarm.org> + +pkgname=archlinuxarm-keyring +pkgver=20140119 +pkgrel=1 +pkgdesc='Arch Linux ARM PGP keyring' +arch=('any') +url='http://archlinuxarm.org' +license=('GPL') +install="${pkgname}.install" +source=("http://archlinuxarm.org/builder/src/${pkgname}-${pkgver}.tar.gz" + "http://archlinuxarm.org/builder/src/${pkgname}-${pkgver}.tar.gz.sig") +sha512sums=('8fbd66dcc8db08ebebeff9c08782726ebcb931710f6fd4c26292d34ae0683b0e0e8940f7e32ce54a7075f1b65e45ebf13f06efa866484be9b4f6ccd777ff0b9f' + 'SKIP') +validpgpkeys=('68B3537F39A313B3E574D06777193F152BDBE6A6') + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX=/usr DESTDIR=${pkgdir} install +} diff --git a/archlinuxarm-keyring/archlinuxarm-keyring.install b/archlinuxarm-keyring/archlinuxarm-keyring.install new file mode 100644 index 000000000..8304dd82e --- /dev/null +++ b/archlinuxarm-keyring/archlinuxarm-keyring.install @@ -0,0 +1,11 @@ +post_upgrade() { + if usr/bin/pacman-key -l >/dev/null 2>&1; then + usr/bin/pacman-key --populate archlinuxarm + fi +} + +post_install() { + if [ -x usr/bin/pacman-key ]; then + post_upgrade + fi +} |