[arch-commits] Commit in bison/repos (6 files)

Allan McRae allan at archlinux.org
Wed Jun 6 02:47:05 UTC 2012


    Date: Tuesday, June 5, 2012 @ 22:47:05
  Author: allan
Revision: 160796

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  bison/repos/testing-i686/
  bison/repos/testing-i686/PKGBUILD
    (from rev 160795, bison/trunk/PKGBUILD)
  bison/repos/testing-i686/bison.install
    (from rev 160795, bison/trunk/bison.install)
  bison/repos/testing-x86_64/
  bison/repos/testing-x86_64/PKGBUILD
    (from rev 160795, bison/trunk/PKGBUILD)
  bison/repos/testing-x86_64/bison.install
    (from rev 160795, bison/trunk/bison.install)

------------------------------+
 testing-i686/PKGBUILD        |   33 +++++++++++++++++++++++++++++++++
 testing-i686/bison.install   |   16 ++++++++++++++++
 testing-x86_64/PKGBUILD      |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/bison.install |   16 ++++++++++++++++
 4 files changed, 98 insertions(+)

Copied: bison/repos/testing-i686/PKGBUILD (from rev 160795, bison/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-06-06 02:47:05 UTC (rev 160796)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.5.1
+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.xz{,.sig})
+md5sums=('012708d801a3c986d8654aa673530b61'
+         '6c7e9276aa8b89879126a611384897a8')
+
+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
+}

Copied: bison/repos/testing-i686/bison.install (from rev 160795, bison/trunk/bison.install)
===================================================================
--- testing-i686/bison.install	                        (rev 0)
+++ testing-i686/bison.install	2012-06-06 02:47:05 UTC (rev 160796)
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=bison.info.gz
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}

Copied: bison/repos/testing-x86_64/PKGBUILD (from rev 160795, bison/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-06-06 02:47:05 UTC (rev 160796)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.5.1
+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.xz{,.sig})
+md5sums=('012708d801a3c986d8654aa673530b61'
+         '6c7e9276aa8b89879126a611384897a8')
+
+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
+}

Copied: bison/repos/testing-x86_64/bison.install (from rev 160795, bison/trunk/bison.install)
===================================================================
--- testing-x86_64/bison.install	                        (rev 0)
+++ testing-x86_64/bison.install	2012-06-06 02:47:05 UTC (rev 160796)
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=bison.info.gz
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}




More information about the arch-commits mailing list