summaryrefslogtreecommitdiff
path: root/archlinuxarm-keyring
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-09-10 11:26:21 +0200
committerErich Eckner <git@eckner.net>2020-09-10 11:26:50 +0200
commit204b19276f0e3b862d5d8b3927c86d09ef6c6086 (patch)
tree76771b10d4e9f4b195549fef3e10da50363c6003 /archlinuxarm-keyring
parent91b49138d9cca3477aef8920bd18166dcc1fa32e (diff)
downloadarchlinuxewe.git.save-204b19276f0e3b862d5d8b3927c86d09ef6c6086.tar.xz
archlinuxarm-keyring new
Diffstat (limited to 'archlinuxarm-keyring')
-rw-r--r--archlinuxarm-keyring/PKGBUILD21
-rw-r--r--archlinuxarm-keyring/archlinuxarm-keyring.install11
2 files changed, 32 insertions, 0 deletions
diff --git a/archlinuxarm-keyring/PKGBUILD b/archlinuxarm-keyring/PKGBUILD
new file mode 100644
index 00000000..36b21a16
--- /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 00000000..8304dd82
--- /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
+}