1 # Maintainer: Link Dupont <link.dupont@gmail.com>
2 # Maintainer: Allan McRae <allan@archlinux.org>
3 # Contributor: judd <jvinet@zeroflux.org>
9 pkgdesc="A GNU tool for automatically creating Makefiles"
12 url="http://www.gnu.org/software/automake"
14 depends=('perl' 'bash')
15 install=automake.install
16 source=(ftp://ftp.gnu.org/gnu/$_pkgname/$_pkgname-$pkgver.tar.gz)
17 md5sums=('03bc9ebfa805f9ee5635f1f53fa1fa5f')
20 cd ${srcdir}/${_pkgname}-${pkgver}
21 ./configure --prefix=/usr
23 make DESTDIR=${pkgdir} install || return 1
26 rm ${pkgdir}/usr/bin/{automake,aclocal}
28 # make the doc dir version-specific
29 mv ${pkgdir}/usr/share/doc/$_pkgname ${pkgdir}/usr/share/doc/$_pkgname-$pkgver
31 # make info files version specific
32 mv ${pkgdir}/usr/share/info/$_pkgname.info ${pkgdir}/usr/share/info/$_pkgname-1.10.info
33 mv ${pkgdir}/usr/share/info/$_pkgname.info-1 ${pkgdir}/usr/share/info/$_pkgname-1.10.info-1
34 mv ${pkgdir}/usr/share/info/$_pkgname.info-2 ${pkgdir}/usr/share/info/$_pkgname-1.10.info-2