summaryrefslogtreecommitdiffstats
path: root/abs/core/bison/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-06 22:30:36 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-06 22:30:36 (GMT)
commite046ce65fa1c5baa79f83bf51a288bd05c7a12fd (patch)
tree956f86c64806f4270d8ad9812cd5204a85946ade /abs/core/bison/PKGBUILD
parent70cbab85a49ef511a4d7ef2d1d4d955d23d29d97 (diff)
downloadlinhes_pkgbuild-e046ce65fa1c5baa79f83bf51a288bd05c7a12fd.zip
linhes_pkgbuild-e046ce65fa1c5baa79f83bf51a288bd05c7a12fd.tar.gz
linhes_pkgbuild-e046ce65fa1c5baa79f83bf51a288bd05c7a12fd.tar.bz2
bison 2.6
Diffstat (limited to 'abs/core/bison/PKGBUILD')
-rw-r--r--abs/core/bison/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/abs/core/bison/PKGBUILD b/abs/core/bison/PKGBUILD
index 91d9162..7e10464 100644
--- a/abs/core/bison/PKGBUILD
+++ b/abs/core/bison/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 87221 2010-08-11 03:29:16Z allan $
+# $Id: PKGBUILD 163856 2012-07-21 11:24:29Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
pkgname=bison
-pkgver=2.4.3
+pkgver=2.6
pkgrel=1
pkgdesc="The GNU general-purpose parser generator"
arch=('i686' 'x86_64')
@@ -12,17 +12,22 @@ 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')
+source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('f96a16e79daaef71c797ed88f52e59d1'
+ 'd67a1a075ab0cccfb53ab23692be1a02')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --datadir=/usr/share
- make || return 1
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make check
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
}