diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:40:51 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:40:51 (GMT) |
commit | 9f4f1a70f9fda353546fe664da88c5c1288114f6 (patch) | |
tree | 4d8ba0a12517ae8a026832daccad3eab436de7f7 /abs | |
parent | 6beefb5ec67b7f4d0467aabfa46ebf2115a96cbd (diff) | |
download | linhes_pkgbuild-9f4f1a70f9fda353546fe664da88c5c1288114f6.zip linhes_pkgbuild-9f4f1a70f9fda353546fe664da88c5c1288114f6.tar.gz linhes_pkgbuild-9f4f1a70f9fda353546fe664da88c5c1288114f6.tar.bz2 |
autoconf2.13: initial include for firefox makedep
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/community/autoconf2.13/PKGBUILD | 28 | ||||
-rw-r--r-- | abs/extra/community/autoconf2.13/autoconf.install | 21 |
2 files changed, 49 insertions, 0 deletions
diff --git a/abs/extra/community/autoconf2.13/PKGBUILD b/abs/extra/community/autoconf2.13/PKGBUILD new file mode 100644 index 0000000..953f29b --- /dev/null +++ b/abs/extra/community/autoconf2.13/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jan de Groot <jgc@archlinux.org +# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com> +# Contributor: Tanguy Bouzéloc <the.zauron at gmail dot com> +# Contributor: Devin Cofer <ranguvar{AT]archlinux[DOT}us> + +pkgname=autoconf2.13 +pkgver=2.13 +pkgrel=1 +pkgdesc="A GNU tool for automatically configuring source code (Legacy 2.1x version)" +arch=(any) +url="http://www.gnu.org/software/autoconf/" +license=('GPL2') +depends=('perl') +install=autoconf.install +source=("http://ftpmirror.gnu.org/autoconf/autoconf-${pkgver}.tar.gz") +md5sums=('9de56d4a161a723228220b0f425dc711') + +build() { + cd "$srcdir/autoconf-${pkgver}" + ./configure --prefix=/usr --infodir=/usr/share/info --program-suffix=-2.13 || return 1 + make || return 1 +} +package() { + cd "$srcdir/autoconf-${pkgver}" + make prefix="${pkgdir}/usr" infodir="${pkgdir}/usr/share/info" install || return 1 + mv "${pkgdir}"/usr/share/info/autoconf{,-2.13}.info + mv "${pkgdir}"/usr/share/info/standards{,-2.13}.info +} diff --git a/abs/extra/community/autoconf2.13/autoconf.install b/abs/extra/community/autoconf2.13/autoconf.install new file mode 100644 index 0000000..82af967 --- /dev/null +++ b/abs/extra/community/autoconf2.13/autoconf.install @@ -0,0 +1,21 @@ +infodir=/usr/share/info +filelist=(autoconf-2.13.info standards-2.13.info) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: + |