summaryrefslogtreecommitdiff
path: root/libre/archlinuxarm-keyring
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2017-11-14 18:44:01 -0600
committerIsaac David <isacdaavid@isacdaavid.info>2017-11-14 18:44:01 -0600
commit6647f647074142d2d335694c76284bb720040131 (patch)
tree948109206d95b59441caea1d808f49f0b9c53d2a /libre/archlinuxarm-keyring
parent8595f8a32adc0057c188c0fb4fe2950b36698b90 (diff)
downloadabslibre-6647f647074142d2d335694c76284bb720040131.tar.gz
abslibre-6647f647074142d2d335694c76284bb720040131.tar.bz2
abslibre-6647f647074142d2d335694c76284bb720040131.zip
pacman 5.0.2-2.parabola1.2: depend on all keyrings
people keep forgeting to install archlinux{arm,32}-keyring for foreign-architecture pacstrap/librechroot on x86_64. as for dbscripts, this also allows us to reuse arch=(any) packages from whatever distro in whatever architecture, in the remote scenario where ALARM or Arch32 updates one such package before x86_64 Arch does.
Diffstat (limited to 'libre/archlinuxarm-keyring')
-rw-r--r--libre/archlinuxarm-keyring/PKGBUILD21
-rw-r--r--libre/archlinuxarm-keyring/archlinuxarm-keyring.install11
2 files changed, 32 insertions, 0 deletions
diff --git a/libre/archlinuxarm-keyring/PKGBUILD b/libre/archlinuxarm-keyring/PKGBUILD
new file mode 100644
index 000000000..48f570e02
--- /dev/null
+++ b/libre/archlinuxarm-keyring/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
+# Maintainer (ALARM): 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"
+ # Arch Linux ARM Build System <builder@archlinuxarm.org>
+ "http://archlinuxarm.org/builder/src/${pkgname}-${pkgver}.tar.gz.sig")
+md5sums=('187140dd1078a4466f79f82f85a43f29'
+ 'SKIP')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
diff --git a/libre/archlinuxarm-keyring/archlinuxarm-keyring.install b/libre/archlinuxarm-keyring/archlinuxarm-keyring.install
new file mode 100644
index 000000000..8304dd82e
--- /dev/null
+++ b/libre/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
+}