[arch-commits] Commit in autoconf-archive/repos/community-any (3 files)
Jan Steffens
heftig at archlinux.org
Sat Sep 26 23:55:03 UTC 2015
Date: Sunday, September 27, 2015 @ 01:55:03
Author: heftig
Revision: 141657
archrelease: copy trunk to community-any
Added:
autoconf-archive/repos/community-any/PKGBUILD
(from rev 141656, autoconf-archive/trunk/PKGBUILD)
autoconf-archive/repos/community-any/autoconf-archive.install
(from rev 141656, autoconf-archive/trunk/autoconf-archive.install)
Deleted:
autoconf-archive/repos/community-any/PKGBUILD
--------------------------+
PKGBUILD | 68 +++++++++++++++++++++++----------------------
autoconf-archive.install | 20 +++++++++++++
2 files changed, 55 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-26 23:54:35 UTC (rev 141656)
+++ PKGBUILD 2015-09-26 23:55:03 UTC (rev 141657)
@@ -1,33 +0,0 @@
-# Maintainer: Daniel Müllner <muellner at math.stanford.edu>
-
-pkgname=autoconf-archive
-pkgver=2015.02.24
-pkgrel=1
-epoch=1
-pkgdesc="A collection of freely re-usable Autoconf macros"
-arch=('any')
-url="http://www.gnu.org/software/autoconf-archive/"
-_watch="http://mirrors.axint.net/repos/gnu.org/autoconf-archive/"
-license=('GPL')
-depends=('autoconf')
-optdepends=('automake: macros for use with it')
-validpgpkeys=('1A4F63A13A4649B632F65EE141BC28FE99089D72')
-source=(http://ftpmirror.gnu.org/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-md5sums=('686ece8b7db6897d9bb9db1723e419b4'
- 'SKIP')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make check
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
-}
Copied: autoconf-archive/repos/community-any/PKGBUILD (from rev 141656, autoconf-archive/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-26 23:55:03 UTC (rev 141657)
@@ -0,0 +1,35 @@
+# $Id$
+# Contributor: Daniel Müllner <muellner at math.stanford.edu>
+
+pkgname=autoconf-archive
+pkgver=2015.09.25
+pkgrel=1
+epoch=1
+pkgdesc="A collection of freely re-usable Autoconf macros"
+arch=('any')
+url="http://www.gnu.org/software/autoconf-archive/"
+_watch="http://mirrors.axint.net/repos/gnu.org/autoconf-archive/"
+license=('GPL')
+depends=('autoconf')
+optdepends=('automake: macros for use with it')
+validpgpkeys=('1A4F63A13A4649B632F65EE141BC28FE99089D72')
+install=autoconf-archive.install
+source=(http://ftpmirror.gnu.org/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+md5sums=('23c2a68fe323d30eaf0fbfa790b4dc92'
+ 'SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
Copied: autoconf-archive/repos/community-any/autoconf-archive.install (from rev 141656, autoconf-archive/trunk/autoconf-archive.install)
===================================================================
--- autoconf-archive.install (rev 0)
+++ autoconf-archive.install 2015-09-26 23:55:03 UTC (rev 141657)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(autoconf-archive.info{,-{1,2,3,4}})
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list