summaryrefslogtreecommitdiff
path: root/archlinux32-keyring
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-29 08:36:25 +0200
committerErich Eckner <git@eckner.net>2017-05-29 08:37:57 +0200
commitec798f17db3764e9a9c3dbd36f1d793b1a3683b3 (patch)
treedaa523e339c50fc4d401f277c5a9a57d21c5f77b /archlinux32-keyring
parent88e4ce893d85e25664e6dbf353636b766e54c9c3 (diff)
downloadarchlinuxewe.git.save-ec798f17db3764e9a9c3dbd36f1d793b1a3683b3.tar.xz
archlinux32-keyring new
Diffstat (limited to 'archlinux32-keyring')
-rw-r--r--archlinux32-keyring/PKGBUILD16
-rw-r--r--archlinux32-keyring/archlinux32-keyring.install11
2 files changed, 27 insertions, 0 deletions
diff --git a/archlinux32-keyring/PKGBUILD b/archlinux32-keyring/PKGBUILD
new file mode 100644
index 00000000..f222b41d
--- /dev/null
+++ b/archlinux32-keyring/PKGBUILD
@@ -0,0 +1,16 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+pkgname=archlinux32-keyring
+pkgver=20170515
+pkgrel=1
+pkgdesc='Arch Linux 32 PGP keyring'
+arch=('any')
+url='http://archlinux32.org'
+license=('GPL')
+install="${pkgname}.install"
+source=("https://github.com/archlinux32/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('5e53ff4b167339b04fcb47c954e0383ed8656b79a9d48e15a958bd1a996ab94446285ddc93646019a3e485552647daf394c14aeea91175255c7745c900c58ff1')
+
+package() {
+ cd "${srcdir}/${pkgname}-"* # ${pkgver}"
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
diff --git a/archlinux32-keyring/archlinux32-keyring.install b/archlinux32-keyring/archlinux32-keyring.install
new file mode 100644
index 00000000..c07ccf39
--- /dev/null
+++ b/archlinux32-keyring/archlinux32-keyring.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate archlinux32
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}