summaryrefslogtreecommitdiff
path: root/testing/bison/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-17 22:43:03 +0000
committerroot <root@rshg047.dnsready.net>2011-05-17 22:43:03 +0000
commit4a67ab8a761f1d0ef59988a513f9f2163f94a869 (patch)
treeef060a1cf768b53a89958df6252193bda9c86d25 /testing/bison/PKGBUILD
parent2f0d12506e7145c0fe4c056e4fbcda1e724dda95 (diff)
Tue May 17 22:43:03 UTC 2011
Diffstat (limited to 'testing/bison/PKGBUILD')
-rw-r--r--testing/bison/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/bison/PKGBUILD b/testing/bison/PKGBUILD
new file mode 100644
index 000000000..ebf2c0fc5
--- /dev/null
+++ b/testing/bison/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 124065 2011-05-16 12:02:28Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+
+pkgname=bison
+pkgver=2.5
+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=('9dba20116b13fc61a0846b0058fbe004')
+
+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
+}