Date: Thursday, November 3, 2011 @ 01:02:43 Author: allan Revision: 141907
archrelease: copy trunk to testing-any Added: autoconf/repos/testing-any/ autoconf/repos/testing-any/PKGBUILD (from rev 141906, autoconf/trunk/PKGBUILD) autoconf/repos/testing-any/autoconf.install (from rev 141906, autoconf/trunk/autoconf.install) ------------------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ autoconf.install | 20 ++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: autoconf/repos/testing-any/PKGBUILD (from rev 141906, autoconf/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2011-11-03 05:02:43 UTC (rev 141907) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae <al...@archlinux.org> +# Contributor: Andreas Radke <andy...@archlinux.org> + +pkgname=autoconf +pkgver=2.68 +pkgrel=2 +pkgdesc="A GNU tool for automatically configuring source code" +arch=('any') +license=('GPL2' 'GPL3' 'custom') +url="http://www.gnu.org/software/autoconf" +groups=('base-devel') +depends=('awk' 'm4' 'diffutils' 'bash') +# for test-suite +#makedepends=('gcc-fortran' 'erlang') +install=autoconf.install +source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}) +md5sums=('723677f7727542d273112e7feb870a7a' + 'f0af3afe669e5957312415fcb4ed38fa') + +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 + + # license exception + install -Dm644 COPYING.EXCEPTION \ + $pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION + + # conflict with bintuils + rm -f ${pkgdir}/usr/share/info/standards.info +} Copied: autoconf/repos/testing-any/autoconf.install (from rev 141906, autoconf/trunk/autoconf.install) =================================================================== --- testing-any/autoconf.install (rev 0) +++ testing-any/autoconf.install 2011-11-03 05:02:43 UTC (rev 141907) @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(autoconf.info) + +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 +}