Date: Friday, December 23, 2011 @ 05:20:40 Author: allan Revision: 145574
archrelease: copy trunk to testing-any Added: automake/repos/testing-any/ automake/repos/testing-any/PKGBUILD (from rev 145573, automake/trunk/PKGBUILD) automake/repos/testing-any/automake.install (from rev 145573, automake/trunk/automake.install) ------------------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ automake.install | 22 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) Copied: automake/repos/testing-any/PKGBUILD (from rev 145573, automake/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2011-12-23 10:20:40 UTC (rev 145574) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Allan McRae <al...@archlinux.org> +# Contributor: judd <jvi...@zeroflux.org> + +pkgname=automake +pkgver=1.11.2 +pkgrel=1 +pkgdesc="A GNU tool for automatically creating Makefiles" +arch=('any') +license=('GPL') +url="http://www.gnu.org/software/automake" +groups=('base-devel') +depends=('perl' 'bash') +makedepends=('autoconf') +install=automake.install +source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}) +md5sums=('79ad64a9f6e83ea98d6964cef8d8a0bc' + '677bfee8a872499fb9ade9ff82971d41') + +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: automake/repos/testing-any/automake.install (from rev 145573, automake/trunk/automake.install) =================================================================== --- testing-any/automake.install (rev 0) +++ testing-any/automake.install 2011-12-23 10:20:40 UTC (rev 145574) @@ -0,0 +1,22 @@ +infodir=/usr/share/info +filelist=(automake.info automake.info-1 automake.info-2) + +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 +} + +# vim:set ts=2 sw=2 et: