pkgname=bison pkgver=3.8.2 pkgrel=2 pkgdesc="The GNU general-purpose parser generator" arch=('x86_64') license=('GPL3') url="https://www.gnu.org/software/bison/bison.html" depends=('glibc' 'm4' 'sh') groups=('base-devel') source=("https://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz") sha1sums=('da1522a00f8c23c1abf69dbd2e99078d2a484b96') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --datadir=/usr/share #--without-libtextstyle-prefix make } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }