# $Id: PKGBUILD 17049 2008-10-24 17:18:43Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>

pkgname=m4
pkgver=1.4.12
pkgrel=1
pkgdesc="m4 macro processor"
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnu.org/software/m4"
install=m4.install
groups=('base-devel')
depends=('glibc' 'bash' 'texinfo')
source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz)
md5sums=('0499a958a561781b125c740f18061ea8')

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

  rm -f ${pkgdir}/usr/share/info/dir
}