[arch-commits] Commit in archlinux-keyring/repos (3 files)
Pierre Schmitz
pierre at archlinux.org
Thu Dec 18 14:42:05 UTC 2014
Date: Thursday, December 18, 2014 @ 15:42:05
Author: pierre
Revision: 227747
archrelease: copy trunk to testing-any
Added:
archlinux-keyring/repos/testing-any/
archlinux-keyring/repos/testing-any/PKGBUILD
(from rev 227746, archlinux-keyring/trunk/PKGBUILD)
archlinux-keyring/repos/testing-any/archlinux-keyring.install
(from rev 227746, archlinux-keyring/trunk/archlinux-keyring.install)
---------------------------+
PKGBUILD | 20 ++++++++++++++++++++
archlinux-keyring.install | 22 ++++++++++++++++++++++
2 files changed, 42 insertions(+)
Copied: archlinux-keyring/repos/testing-any/PKGBUILD (from rev 227746, archlinux-keyring/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2014-12-18 14:42:05 UTC (rev 227747)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20141218
+pkgrel=1
+pkgdesc='Arch Linux PGP keyring'
+arch=('any')
+url='https://projects.archlinux.org/archlinux-keyring.git/'
+license=('GPL')
+install="${pkgname}.install"
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig")
+md5sums=('a795c516bc5bc1764d85b1030751072f'
+ 'SKIP')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
Copied: archlinux-keyring/repos/testing-any/archlinux-keyring.install (from rev 227746, archlinux-keyring/trunk/archlinux-keyring.install)
===================================================================
--- testing-any/archlinux-keyring.install (rev 0)
+++ testing-any/archlinux-keyring.install 2014-12-18 14:42:05 UTC (rev 227747)
@@ -0,0 +1,22 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate archlinux
+
+ # Re-enable key of dwallace
+ # See https://bugs.archlinux.org/task/35478
+ if [ -z "$2" ] || [ "$2" = "20130525-1" ]; then
+ printf 'enable\nquit\n' | LANG=C \
+ gpg --homedir /etc/pacman.d/gnupg \
+ --no-permission-warning --command-fd 0 \
+ --quiet --batch --edit-key \
+ 5559BC1A32B8F76B3FCCD9555FA5E5544F010D48 \
+ 2>/dev/null
+ fi
+ fi
+}
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}
More information about the arch-commits
mailing list