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

Allan McRae allan at archlinux.org
Fri Jul 20 03:30:35 UTC 2012


    Date: Thursday, July 19, 2012 @ 23:30:35
  Author: allan
Revision: 163784

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

Added:
  bison/repos/testing-i686/
  bison/repos/testing-i686/PKGBUILD
    (from rev 163783, bison/trunk/PKGBUILD)
  bison/repos/testing-i686/bison.install
    (from rev 163783, bison/trunk/bison.install)
  bison/repos/testing-x86_64/
  bison/repos/testing-x86_64/PKGBUILD
    (from rev 163783, bison/trunk/PKGBUILD)
  bison/repos/testing-x86_64/bison.install
    (from rev 163783, 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 163783, bison/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-07-20 03:30:35 UTC (rev 163784)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.6
+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=('f96a16e79daaef71c797ed88f52e59d1'
+         'd67a1a075ab0cccfb53ab23692be1a02')
+
+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 163783, bison/trunk/bison.install)
===================================================================
--- testing-i686/bison.install	                        (rev 0)
+++ testing-i686/bison.install	2012-07-20 03:30:35 UTC (rev 163784)
@@ -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 163783, bison/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-07-20 03:30:35 UTC (rev 163784)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.6
+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=('f96a16e79daaef71c797ed88f52e59d1'
+         'd67a1a075ab0cccfb53ab23692be1a02')
+
+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 163783, bison/trunk/bison.install)
===================================================================
--- testing-x86_64/bison.install	                        (rev 0)
+++ testing-x86_64/bison.install	2012-07-20 03:30:35 UTC (rev 163784)
@@ -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