[arch-commits] Commit in autoconf-archive/trunk (PKGBUILD autoconf-archive.install)
Jan Steffens
heftig at archlinux.org
Sat Sep 26 23:54:35 UTC 2015
Date: Sunday, September 27, 2015 @ 01:54:35
Author: heftig
Revision: 141656
2015.09.25
Added:
autoconf-archive/trunk/autoconf-archive.install
Modified:
autoconf-archive/trunk/PKGBUILD (contents, properties)
--------------------------+
PKGBUILD | 8 +++++---
autoconf-archive.install | 20 ++++++++++++++++++++
2 files changed, 25 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-26 22:46:21 UTC (rev 141655)
+++ PKGBUILD 2015-09-26 23:54:35 UTC (rev 141656)
@@ -1,7 +1,8 @@
-# Maintainer: Daniel Müllner <muellner at math.stanford.edu>
+# $Id$
+# Contributor: Daniel Müllner <muellner at math.stanford.edu>
pkgname=autoconf-archive
-pkgver=2015.02.24
+pkgver=2015.09.25
pkgrel=1
epoch=1
pkgdesc="A collection of freely re-usable Autoconf macros"
@@ -12,8 +13,9 @@
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=('686ece8b7db6897d9bb9db1723e419b4'
+md5sums=('23c2a68fe323d30eaf0fbfa790b4dc92'
'SKIP')
build() {
Property changes on: autoconf-archive/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: autoconf-archive.install
===================================================================
--- autoconf-archive.install (rev 0)
+++ autoconf-archive.install 2015-09-26 23:54:35 UTC (rev 141656)
@@ -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