# $Id: PKGBUILD 171527 2012-11-18 11:37:53Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=automake pkgver=1.12.5 pkgrel=1 pkgdesc="A GNU tool for automatically creating Makefiles" arch=('any') license=('GPL') url="http://www.gnu.org/software/automake" groups=('base-devel') depends=('perl' 'bash') makedepends=('autoconf') install=automake.install source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}) md5sums=('2bc1aef898712c7e56320f264040972d' '2b5cf11401c4a6d9ebe8f3a979b626c9') 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 }