[arch-commits] Commit in archlinux-keyring/repos (3 files)

Pierre Schmitz pierre at archlinux.org
Wed Oct 31 16:38:15 UTC 2018


    Date: Wednesday, October 31, 2018 @ 16:38:15
  Author: pierre
Revision: 337644

archrelease: copy trunk to testing-any

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

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

Copied: archlinux-keyring/repos/testing-any/PKGBUILD (from rev 337643, archlinux-keyring/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2018-10-31 16:38:15 UTC (rev 337644)
@@ -0,0 +1,26 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=archlinux-keyring
+pkgver=20181031
+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{,.sig})
+sha256sums=('f7d50bd8054b2529e69358d8c1982fab4889700e62a85ed72e55b42b571cff92'
+            'SKIP')
+validpgpkeys=('4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC'  # Pierre Schmitz <pierre at archlinux.de>
+              'A314827C4E4250A204CE6E13284FC34C8E4B1A25'  # Thomas Bächler <thomas at bchlr.de>
+              '86CFFCA918CF3AF47147588051E8B148A9999C34'  # Evangelos Foutras <evangelos at foutrelis.com>
+              'F3691687D867B81B51CE07D9BBE43771487328A9'  # Bartlomiej Piotrowski <bpiotrowski at archlinux.org>
+              'BD84DE71F493DF6814B0167254EDC91609BC9183'  # Christian Hesse <Christi at n-Hes.se>
+              'CFA6AF15E5C74149FC1D8C086D1655C14CE1C13E'  # Florian Pritz <bluewind at xinu.at>
+              'E499C79F53C96A54E572FEE1C06086337C50773E')  # Jelle van der Waa <jelle at archlinux.org>
+
+package() {
+  cd $pkgname-$pkgver
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+}

Copied: archlinux-keyring/repos/testing-any/archlinux-keyring.install (from rev 337643, archlinux-keyring/trunk/archlinux-keyring.install)
===================================================================
--- testing-any/archlinux-keyring.install	                        (rev 0)
+++ testing-any/archlinux-keyring.install	2018-10-31 16:38:15 UTC (rev 337644)
@@ -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 alad
+		# See https://bugs.archlinux.org/task/35478
+		if [[ -z "$2" ]] || [[ "$(vercmp "$2" "20181018-1")" -lt 0 ]]; then
+			printf 'enable\nquit\n' | LANG=C \
+				gpg --homedir /etc/pacman.d/gnupg \
+				--no-permission-warning --command-fd 0 \
+				--quiet --batch --edit-key \
+				DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A \
+				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