[arch-commits] Commit in archlinux-keyring/repos (3 files)
Pierre Schmitz
pierre at nymeria.archlinux.org
Sat May 25 11:23:17 UTC 2013
Date: Saturday, May 25, 2013 @ 13:23:17
Author: pierre
Revision: 186356
archrelease: copy trunk to testing-any
Added:
archlinux-keyring/repos/testing-any/
archlinux-keyring/repos/testing-any/PKGBUILD
(from rev 186355, archlinux-keyring/trunk/PKGBUILD)
archlinux-keyring/repos/testing-any/archlinux-keyring.install
(from rev 186355, 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 186355, archlinux-keyring/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2013-05-25 11:23:17 UTC (rev 186356)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=archlinux-keyring
+pkgver=20130525
+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=('22894bbd940803d3cf0310d93cdf054e'
+ 'SKIP')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
Copied: archlinux-keyring/repos/testing-any/archlinux-keyring.install (from rev 186355, archlinux-keyring/trunk/archlinux-keyring.install)
===================================================================
--- testing-any/archlinux-keyring.install (rev 0)
+++ testing-any/archlinux-keyring.install 2013-05-25 11:23:17 UTC (rev 186356)
@@ -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