summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco A Rojas2018-05-03 01:07:53 -0500
committerMarco A Rojas2018-05-03 01:07:53 -0500
commit0a76a868e9e1c11134528919544ac353c2beaa32 (patch)
tree31768fe8d37199d50a43a983477196ff2356f637
downloadaur-0a76a868e9e1c11134528919544ac353c2beaa32.tar.gz
First commit, this package exists in aur due kannel dependency
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD34
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dcd3a4f824d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = bison2
+ pkgdesc = The GNU general-purpose parser generator, older version
+ pkgver = 2.7.1
+ pkgrel = 1
+ url = http://www.gnu.org/software/bison/bison.html
+ arch = x86_64
+ groups = base-devel
+ license = GPL3
+ depends = glibc
+ depends = m4
+ depends = sh
+ depends = libiconv
+ conflicts = bison
+ source = http://ftp.gnu.org/gnu/bison/bison-2.7.1.tar.gz
+ source = http://ftp.gnu.org/gnu/bison/bison-2.7.1.tar.gz.sig
+ validpgpkeys = 7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E
+ md5sums = f00906151ff9d2cb599cdeae36d902ee
+ md5sums = SKIP
+
+pkgname = bison2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0db26e0243e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Marco A Rojas <marco.rojas@zentek.com.mx>
+
+pkgname=bison2
+PACKAGE=bison
+pkgver=2.7.1
+pkgrel=1
+pkgdesc="The GNU general-purpose parser generator, older version"
+arch=('x86_64')
+license=('GPL3')
+url="http://www.gnu.org/software/bison/bison.html"
+depends=('glibc' 'm4' 'sh' 'libiconv')
+conflicts=('bison')
+groups=('base-devel')
+source=(http://ftp.gnu.org/gnu/bison/${PACKAGE}-${pkgver}.tar.gz{,.sig})
+md5sums=('f00906151ff9d2cb599cdeae36d902ee'
+ 'SKIP')
+validpgpkeys=('7DF84374B1EE1F9764BBE25D0DDCAA3278D5264E')
+
+build() {
+ cd ${srcdir}/${PACKAGE}-${pkgver}
+ ./configure --prefix=/usr/local --datadir=/usr/local/share --mandir=/usr/local/man
+ make
+}
+
+check() {
+ cd ${srcdir}/${PACKAGE}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${PACKAGE}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}