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

Pierre Schmitz pierre at archlinux.org
Sat Apr 14 12:30:45 UTC 2012


    Date: Saturday, April 14, 2012 @ 08:30:45
  Author: pierre
Revision: 156143

db-move: moved archlinux-keyring from [testing] to [core] (any)

Added:
  archlinux-keyring/repos/core-any/
  archlinux-keyring/repos/core-any/PKGBUILD
    (from rev 156142, archlinux-keyring/repos/testing-any/PKGBUILD)
  archlinux-keyring/repos/core-any/archlinux-keyring.install
    (from rev 156142, archlinux-keyring/repos/testing-any/archlinux-keyring.install)
Deleted:
  archlinux-keyring/repos/testing-any/

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

Copied: archlinux-keyring/repos/core-any/PKGBUILD (from rev 156142, archlinux-keyring/repos/testing-any/PKGBUILD)
===================================================================
--- core-any/PKGBUILD	                        (rev 0)
+++ core-any/PKGBUILD	2012-04-14 12:30:45 UTC (rev 156143)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20120407
+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=('846e97918477f98046dcd1bd1dda9bda'
+         '87025603b192b87152e7e0e72c06aa72')
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make PREFIX=/usr DESTDIR=${pkgdir} install
+}

Copied: archlinux-keyring/repos/core-any/archlinux-keyring.install (from rev 156142, archlinux-keyring/repos/testing-any/archlinux-keyring.install)
===================================================================
--- core-any/archlinux-keyring.install	                        (rev 0)
+++ core-any/archlinux-keyring.install	2012-04-14 12:30:45 UTC (rev 156143)
@@ -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