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

Pierre Schmitz pierre at archlinux.org
Tue May 29 20:48:48 UTC 2012


    Date: Tuesday, May 29, 2012 @ 16:48:48
  Author: pierre
Revision: 160071

archrelease: copy trunk to testing-any

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

---------------------------+
 PKGBUILD                  |   20 ++++++++++++++++++++
 archlinux-keyring.install |   14 ++++++++++++++
 2 files changed, 34 insertions(+)

Copied: archlinux-keyring/repos/testing-any/PKGBUILD (from rev 160070, archlinux-keyring/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-05-29 20:48:48 UTC (rev 160071)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20120529
+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=('35b53004acde18e02acd29889302d40a'
+         '4929c51b019dfba1a85320396631e4c0')
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make PREFIX=/usr DESTDIR=${pkgdir} install
+}

Copied: archlinux-keyring/repos/testing-any/archlinux-keyring.install (from rev 160070, archlinux-keyring/trunk/archlinux-keyring.install)
===================================================================
--- testing-any/archlinux-keyring.install	                        (rev 0)
+++ testing-any/archlinux-keyring.install	2012-05-29 20:48:48 UTC (rev 160071)
@@ -0,0 +1,14 @@
+post_upgrade() {
+	if usr/bin/pacman-key -l >/dev/null 2>&1; then
+		usr/bin/pacman-key --populate archlinux
+	else
+		echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
+		echo " >>> Then run \`pacman-key --populate archlinux\` to install the Arch Linux keyring."
+	fi
+}
+
+post_install() {
+	if [ -x usr/bin/pacman-key ]; then
+		post_upgrade
+	fi
+}




More information about the arch-commits mailing list