diff options
Diffstat (limited to 'core/bison/PKGBUILD')
-rw-r--r-- | core/bison/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/core/bison/PKGBUILD b/core/bison/PKGBUILD new file mode 100644 index 000000000..1e04f381e --- /dev/null +++ b/core/bison/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 87221 2010-08-11 03:29:16Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Eric Belanger <eric@archlinux.org> + +pkgname=bison +pkgver=2.4.3 +pkgrel=1 +pkgdesc="The GNU general-purpose parser generator" +arch=('i686' 'x86_64') +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.bz2) +md5sums=('c1d3ea81bc370dbd43b6f0b2cd21287e') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --datadir=/usr/share + make + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |