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

Pierre Schmitz pierre at archlinux.org
Sat Sep 15 07:56:59 UTC 2012


    Date: Saturday, September 15, 2012 @ 03:56:58
  Author: pierre
Revision: 166666

archrelease: copy trunk to testing-any

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

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

Copied: archlinux-keyring/repos/testing-any/PKGBUILD (from rev 166665, archlinux-keyring/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-09-15 07:56:58 UTC (rev 166666)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20120915
+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=('c9b1616752ed1bb3a1a95f0392cbd44b'
+         '33a0d3867a3448daaa6acea0b40fb3cf')
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make PREFIX=/usr DESTDIR=${pkgdir} install
+}

Copied: archlinux-keyring/repos/testing-any/archlinux-keyring.install (from rev 166665, archlinux-keyring/trunk/archlinux-keyring.install)
===================================================================
--- testing-any/archlinux-keyring.install	                        (rev 0)
+++ testing-any/archlinux-keyring.install	2012-09-15 07:56:58 UTC (rev 166666)
@@ -0,0 +1,11 @@
+post_upgrade() {
+	if usr/bin/pacman-key -l >/dev/null 2>&1; then
+		usr/bin/pacman-key --populate archlinux
+	fi
+}
+
+post_install() {
+	if [ -x usr/bin/pacman-key ]; then
+		post_upgrade
+	fi
+}




More information about the arch-commits mailing list