# Maintainer: Natanael Copa pkgname=bison pkgver=2.6 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="823ee3d582a526b436409506005c9550 bison-2.6.tar.gz"