[arch-commits] Commit in (5 files)

Pierre Schmitz pierre at archlinux.org
Mon Feb 13 09:25:36 EST 2012


    Date: Monday, February 13, 2012 @ 09:25:35
  Author: pierre
Revision: 150144

initial commit of the keyring package

Added:
  archlinux-keyring/
  archlinux-keyring/repos/
  archlinux-keyring/trunk/
  archlinux-keyring/trunk/PKGBUILD
  archlinux-keyring/trunk/archlinux-keyring.install

---------------------------+
 PKGBUILD                  |   19 +++++++++++++++++++
 archlinux-keyring.install |    9 +++++++++
 2 files changed, 28 insertions(+)

Added: archlinux-keyring/trunk/PKGBUILD
===================================================================
--- archlinux-keyring/trunk/PKGBUILD	                        (rev 0)
+++ archlinux-keyring/trunk/PKGBUILD	2012-02-13 14:25:35 UTC (rev 150144)
@@ -0,0 +1,19 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20120213
+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=('0bce827a30ddbea42b38cc24d1691ac5'
+         '27275509ea3ff9d0c24e6b0ba47878a8')
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make PREFIX=/usr DESTDIR=${pkgdir} install
+}

Added: archlinux-keyring/trunk/archlinux-keyring.install
===================================================================
--- archlinux-keyring/trunk/archlinux-keyring.install	                        (rev 0)
+++ archlinux-keyring/trunk/archlinux-keyring.install	2012-02-13 14:25:35 UTC (rev 150144)
@@ -0,0 +1,9 @@
+post_upgrade() {
+	pacman-key -a \
+		usr/share/archlinux-keyring/master/*.asc \
+		usr/share/archlinux-keyring/packager/*.asc &>/dev/null
+}
+
+post_install() {
+	post_upgrade
+}



More information about the arch-commits mailing list