From 05724639323b2d21bcc5e156fc1f69dc311eb54d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 May 2017 23:25:07 +0200 Subject: archlinux32-keyring new --- core/archlinux32-keyring/PKGBUILD | 15 +++++++++++++++ core/archlinux32-keyring/archlinux32-keyring.install | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 core/archlinux32-keyring/PKGBUILD create mode 100644 core/archlinux32-keyring/archlinux32-keyring.install (limited to 'core') diff --git a/core/archlinux32-keyring/PKGBUILD b/core/archlinux32-keyring/PKGBUILD new file mode 100644 index 00000000..523322c1 --- /dev/null +++ b/core/archlinux32-keyring/PKGBUILD @@ -0,0 +1,15 @@ +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/core/archlinux32-keyring/archlinux32-keyring.install b/core/archlinux32-keyring/archlinux32-keyring.install new file mode 100644 index 00000000..c07ccf39 --- /dev/null +++ b/core/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 +} -- cgit v1.2.3-70-g09d2