summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:27:34 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:27:34 (GMT)
commit199b067c0b36f2f460c547481858c29e3c7fda81 (patch)
tree6faeba9b1bc97b7f537832422bd26e6e5ea8cf5e /abs/core
parent6d5784e8b4dbbf1438e6442f0e2553c2e8335bf9 (diff)
downloadlinhes_pkgbuild-199b067c0b36f2f460c547481858c29e3c7fda81.zip
linhes_pkgbuild-199b067c0b36f2f460c547481858c29e3c7fda81.tar.gz
linhes_pkgbuild-199b067c0b36f2f460c547481858c29e3c7fda81.tar.bz2
autoconf 2.69
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/autoconf/PKGBUILD37
-rw-r--r--abs/core/autoconf/autoconf.install8
2 files changed, 31 insertions, 14 deletions
diff --git a/abs/core/autoconf/PKGBUILD b/abs/core/autoconf/PKGBUILD
index 1ac8ed6..6f3e18c 100644
--- a/abs/core/autoconf/PKGBUILD
+++ b/abs/core/autoconf/PKGBUILD
@@ -1,25 +1,42 @@
-# $Id: PKGBUILD 12545 2008-09-15 12:33:36Z andyrtr $
-# Maintainer: Andreas Radke <adyrtr@archlinux.org>
+# $Id: PKGBUILD 157321 2012-04-27 00:50:14Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=autoconf
-pkgver=2.66
+pkgver=2.69
pkgrel=1
pkgdesc="A GNU tool for automatically configuring source code"
-arch=(i686 x86_64)
-license=('GPL2' 'GPL3')
+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.gz)
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('50f97f4159805e374639a73e2636f22e'
+ '2941e2fe687e05b3431eac6b714053bc')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- rm -f ${pkgdir}/usr/share/info/dir
+ 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
}
-md5sums=('fb00d77cbc468994c55919298af1ff02')
diff --git a/abs/core/autoconf/autoconf.install b/abs/core/autoconf/autoconf.install
index 6440ec6..7f3a099 100644
--- a/abs/core/autoconf/autoconf.install
+++ b/abs/core/autoconf/autoconf.install
@@ -2,8 +2,9 @@ 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 $infodir/dir 2> /dev/null
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
@@ -12,9 +13,8 @@ post_upgrade() {
}
pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
-
-# vim:set ts=2 sw=2 et: