# $Id: PKGBUILD 191960 2013-08-02 00:55:04Z allan $ # Maintainer: Allan McRae # Contributor: Eric Belanger pkgname=bison pkgver=3.0 pkgrel=1 pkgdesc="The GNU general-purpose parser generator" arch=('i686' 'x86_64' 'mips64el') license=('GPL3') url="http://www.gnu.org/software/bison/bison.html" depends=('glibc' 'm4' 'sh') groups=('base-devel') install=bison.install source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz{,.sig}) md5sums=('a2624994561aa69f056c904c1ccb2880' 'SKIP') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --datadir=/usr/share make } check() { cd ${srcdir}/${pkgname}-${pkgver} make check } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }