diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2017-10-31 00:58:04 -0600 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2017-10-31 00:58:04 -0600 |
commit | 8a96ddaf76f7d09112ec6f47ee798885060e7b90 (patch) | |
tree | 8779abb5f56225f2fe04730875e633b94ce8356c /libre/archlinux32-keyring | |
parent | 3e373d62431b24ad98b60985fadcd95ce3ceba85 (diff) | |
download | abslibre-8a96ddaf76f7d09112ec6f47ee798885060e7b90.tar.gz abslibre-8a96ddaf76f7d09112ec6f47ee798885060e7b90.tar.bz2 abslibre-8a96ddaf76f7d09112ec6f47ee798885060e7b90.zip |
add archlinux32-keyring to [libre]
just a prophylactic move for the incoming transition. it will be
transparent to users once pacman is told to depend on this keyring,
because unlike the original, this we sign
Diffstat (limited to 'libre/archlinux32-keyring')
-rw-r--r-- | libre/archlinux32-keyring/PKGBUILD | 22 | ||||
-rw-r--r-- | libre/archlinux32-keyring/archlinux32-keyring.install | 11 |
2 files changed, 33 insertions, 0 deletions
diff --git a/libre/archlinux32-keyring/PKGBUILD b/libre/archlinux32-keyring/PKGBUILD new file mode 100644 index 000000000..cbbc46b2a --- /dev/null +++ b/libre/archlinux32-keyring/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer (Arch 32): Erich Eckner <deep42thought@archlinux32.org> +# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info> + +# This will allow for a transparent transition to Arch32 packages + +pkgname=archlinux32-keyring +pkgver=20170628 +pkgrel=2 +pkgdesc='Arch Linux 32 PGP keyring' +arch=('any') +url='http://archlinux32.org' +license=('GPL') +install="${pkgname}.install" +conflicts=('archlinux32-keyring-transition') +replaces=('archlinux32-keyring-transition') +source=("https://github.com/archlinux32/$pkgname/archive/v$pkgver.tar.gz") +sha512sums=('3c088e02bda95dfa4e72a3afd6e934f8920fb5befaea1080d40cc5594ff77c8bff0f994028b7d371411c35cf4959cc25fc72e07c4d94694872f09be4f3e0d64a') + +package() { + cd "${srcdir}/${pkgname}-"* # ${pkgver}" + make PREFIX=/usr DESTDIR=${pkgdir} install +} diff --git a/libre/archlinux32-keyring/archlinux32-keyring.install b/libre/archlinux32-keyring/archlinux32-keyring.install new file mode 100644 index 000000000..c07ccf39f --- /dev/null +++ b/libre/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 +} |