summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-14 14:48:32 +0200
committerErich Eckner <git@eckner.net>2017-09-14 14:48:32 +0200
commitb84b44fc32afe8b1bf86ddb3e3d0403a68504e1f (patch)
treea4365712eeb6bf626784fb74b128d53798a4b39c /core
parent1e08846a85572e50f61877479b4a81abcd22d60d (diff)
downloadpackages-b84b44fc32afe8b1bf86ddb3e3d0403a68504e1f.tar.xz
core/archlinux32-keyring-transition new
Diffstat (limited to 'core')
-rw-r--r--core/archlinux32-keyring-transition/PKGBUILD17
-rw-r--r--core/archlinux32-keyring-transition/archlinux32-keyring-transition.install11
-rw-r--r--core/archlinux32-keyring/PKGBUILD4
3 files changed, 31 insertions, 1 deletions
diff --git a/core/archlinux32-keyring-transition/PKGBUILD b/core/archlinux32-keyring-transition/PKGBUILD
new file mode 100644
index 00000000..516d6568
--- /dev/null
+++ b/core/archlinux32-keyring-transition/PKGBUILD
@@ -0,0 +1,17 @@
+# Maintainer: Erich Eckner <deep42thought@archlinux32.org>
+pkgname=archlinux32-keyring-transition
+pkgver=20170628
+pkgrel=1
+pkgdesc='Arch Linux 32 PGP keyring - transition package'
+arch=('any')
+url='http://archlinux32.org'
+license=('GPL')
+install="${pkgname}.install"
+provides=('archlinux32-keyring')
+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/core/archlinux32-keyring-transition/archlinux32-keyring-transition.install b/core/archlinux32-keyring-transition/archlinux32-keyring-transition.install
new file mode 100644
index 00000000..c07ccf39
--- /dev/null
+++ b/core/archlinux32-keyring-transition/archlinux32-keyring-transition.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
+}
diff --git a/core/archlinux32-keyring/PKGBUILD b/core/archlinux32-keyring/PKGBUILD
index 73b04083..7ae374ed 100644
--- a/core/archlinux32-keyring/PKGBUILD
+++ b/core/archlinux32-keyring/PKGBUILD
@@ -1,12 +1,14 @@
# Maintainer: Erich Eckner <deep42thought@archlinux32.org>
pkgname=archlinux32-keyring
pkgver=20170628
-pkgrel=1
+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')