summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/autoconf
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 07:11:46 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 07:11:46 (GMT)
commitd6c85a0a72bdf795006af4855f633e376f7fc9f2 (patch)
tree72a5a1fc5b530820c387f89adcdd2dea326f23d8 /abs/extra-testing/autoconf
parentfac3c8c6017a5f39ca1aca36f01493fa016d962c (diff)
downloadlinhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.zip
linhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.tar.gz
linhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.tar.bz2
Various packages need for LCDproc.
Diffstat (limited to 'abs/extra-testing/autoconf')
-rw-r--r--abs/extra-testing/autoconf/PKGBUILD25
-rw-r--r--abs/extra-testing/autoconf/autoconf.install20
2 files changed, 45 insertions, 0 deletions
diff --git a/abs/extra-testing/autoconf/PKGBUILD b/abs/extra-testing/autoconf/PKGBUILD
new file mode 100644
index 0000000..75bd7ef
--- /dev/null
+++ b/abs/extra-testing/autoconf/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 12545 2008-09-15 12:33:36Z andyrtr $
+# Maintainer: Andreas Radke <adyrtr@archlinux.org>
+
+pkgname=autoconf
+pkgver=2.63
+pkgrel=1
+pkgdesc="A GNU tool for automatically configuring source code"
+arch=(i686 x86_64)
+license=('GPL2' 'GPL3')
+url="http://www.gnu.org/software/autoconf"
+groups=('base-devel')
+depends=('awk' 'm4' 'diffutils' 'bash')
+install=autoconf.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('43d76649fb86cd21d64f68c48d5abdcf')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+ rm -f ${pkgdir}/usr/share/info/dir
+ # conflict with bintuils
+ rm -f ${pkgdir}/usr/share/info/standards.info
+}
diff --git a/abs/extra-testing/autoconf/autoconf.install b/abs/extra-testing/autoconf/autoconf.install
new file mode 100644
index 0000000..6440ec6
--- /dev/null
+++ b/abs/extra-testing/autoconf/autoconf.install
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(autoconf.info)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et: