# $Id: PKGBUILD 19545 2008-11-26 18:00:03Z andyrtr $
# Contributor: judd <jvinet@zeroflux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=automake
pkgver=1.11.1
pkgrel=1
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnu.org/software/automake"
groups=('base-devel')
depends=('perl' 'bash' 'texinfo' 'autoconf>=2.60')
install=automake.install
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${pkgdir} install || return 1

  rm -f ${pkgdir}/usr/share/info/dir
}
md5sums=('4ee7f0ff5f0e467d58b6bd5da96b1c74')