# Maintainer: Natanael Copa pkgname=bison pkgver=2.5.1 pkgrel=0 pkgdesc="The GNU general-purpose parser generator" arch="all" license="GPL" url="http://www.gnu.org/software/bison/bison.html" depends="m4" source="ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.gz" subpackages="$pkgname-doc" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure --prefix=/usr \ --datadir=/usr/share \ --infodir=/usr/share/info \ --mandir=/usr/share/man make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="8fedf916f1aa2c4a31441d8f8bbc603c bison-2.5.1.tar.gz"