summaryrefslogtreecommitdiffstats
path: root/abs/core/bison
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
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')
-rw-r--r--abs/core/bison/ChangeLog19
-rw-r--r--abs/core/bison/PKGBUILD21
-rw-r--r--abs/core/bison/bison.install2
3 files changed, 14 insertions, 28 deletions
diff --git a/abs/core/bison/ChangeLog b/abs/core/bison/ChangeLog
deleted file mode 100644
index 5bb22be..0000000
--- a/abs/core/bison/ChangeLog
+++ /dev/null
@@ -1,19 +0,0 @@
-2010-03-25 Eric Belanger <eric@archlinux.org>
-
- * bison 2.4.2-1
- * Upstream update
- * Removed texinfo dependency in install scriptlet
- * Updated license
- * Added sh depends
-
-2008-12-11 Eric Belanger <eric@archlinux.org>
-
- * bison 2.4.1-1
- * Upstream update
-
-2008-11-08 Eric Belanger <eric@archlinux.org>
-
- * bison 2.4-1
- * Upstream update
- * Added info file support
- * Added ChangeLog
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
}
diff --git a/abs/core/bison/bison.install b/abs/core/bison/bison.install
index 890eb03..0081a19 100644
--- a/abs/core/bison/bison.install
+++ b/abs/core/bison/bison.install
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
file=bison.info.gz
post_install() {