Date: Thursday, December 1, 2016 @ 18:02:30
  Author: pierre
Revision: 282491

archrelease: copy trunk to testing-any

Added:
  archlinux-keyring/repos/testing-any/
  archlinux-keyring/repos/testing-any/PKGBUILD
    (from rev 282490, archlinux-keyring/trunk/PKGBUILD)
  archlinux-keyring/repos/testing-any/archlinux-keyring.install
    (from rev 282490, archlinux-keyring/trunk/archlinux-keyring.install)

---------------------------+
 PKGBUILD                  |   25 +++++++++++++++++++++++++
 archlinux-keyring.install |   22 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

Copied: archlinux-keyring/repos/testing-any/PKGBUILD (from rev 282490, 
archlinux-keyring/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2016-12-01 18:02:30 UTC (rev 282491)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pie...@archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20161201
+pkgrel=1
+pkgdesc='Arch Linux PGP keyring'
+arch=('any')
+url='https://projects.archlinux.org/archlinux-keyring.git/'
+license=('GPL')
+install="${pkgname}.install"
+source=("https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz";
+        
"https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz.sig";)
+md5sums=('cc6c7fd3f9f470b4f54e30388e4eb3f2'
+         'SKIP')
+validpgpkeys=(
+              '4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC' # Pierre
+              'A314827C4E4250A204CE6E13284FC34C8E4B1A25' # Thomas
+              '86CFFCA918CF3AF47147588051E8B148A9999C34' # Evangelos
+             )
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make PREFIX=/usr DESTDIR=${pkgdir} install
+}

Copied: archlinux-keyring/repos/testing-any/archlinux-keyring.install (from rev 
282490, archlinux-keyring/trunk/archlinux-keyring.install)
===================================================================
--- testing-any/archlinux-keyring.install                               (rev 0)
+++ testing-any/archlinux-keyring.install       2016-12-01 18:02:30 UTC (rev 
282491)
@@ -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
+}

Reply via email to