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

Allan McRae allan at archlinux.org
Tue Jul 31 00:34:32 UTC 2012


    Date: Monday, July 30, 2012 @ 20:34:31
  Author: allan
Revision: 164337

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

Added:
  bison/repos/testing-i686/
  bison/repos/testing-i686/PKGBUILD
    (from rev 164335, bison/trunk/PKGBUILD)
  bison/repos/testing-i686/bison.install
    (from rev 164335, bison/trunk/bison.install)
  bison/repos/testing-x86_64/
  bison/repos/testing-x86_64/PKGBUILD
    (from rev 164336, bison/trunk/PKGBUILD)
  bison/repos/testing-x86_64/bison.install
    (from rev 164336, 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 164335, bison/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-07-31 00:34:31 UTC (rev 164337)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.6.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=('1fc1b9bc689e7fc5622d32c93cce746f'
+         '44d571e9b271fbcf283c1795c28f70aa')
+
+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 164335, bison/trunk/bison.install)
===================================================================
--- testing-i686/bison.install	                        (rev 0)
+++ testing-i686/bison.install	2012-07-31 00:34:31 UTC (rev 164337)
@@ -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 164336, bison/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-07-31 00:34:31 UTC (rev 164337)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.6.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=('1fc1b9bc689e7fc5622d32c93cce746f'
+         '44d571e9b271fbcf283c1795c28f70aa')
+
+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 164336, bison/trunk/bison.install)
===================================================================
--- testing-x86_64/bison.install	                        (rev 0)
+++ testing-x86_64/bison.install	2012-07-31 00:34:31 UTC (rev 164337)
@@ -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