[arch-commits] Commit in bigloo/trunk (PKGBUILD bigloo.install)

Eric Bélanger eric at archlinux.org
Fri Jul 9 18:09:28 EDT 2010


    Date: Friday, July 9, 2010 @ 18:09:27
  Author: eric
Revision: 85150

upgpkg: bigloo 3.4a_2-1
Upstream update, Removed texinfo depends

Modified:
  bigloo/trunk/PKGBUILD
  bigloo/trunk/bigloo.install

----------------+
 PKGBUILD       |   25 +++++++++++++------------
 bigloo.install |    9 ++++++---
 2 files changed, 19 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-09 22:08:43 UTC (rev 85149)
+++ PKGBUILD	2010-07-09 22:09:27 UTC (rev 85150)
@@ -4,19 +4,20 @@
 # Contributor: Kevin Piche <kevin at archlinux.org>
 
 pkgname=bigloo
-pkgver=3.3a_5
-_pkgver=3.3a-5
-pkgrel=2
+_pkgver=3.4a-2
+pkgver=${_pkgver/-/_}
+pkgrel=1
 pkgdesc="Fast scheme compiler"
 arch=('i686' 'x86_64')
+url="http://www-sop.inria.fr/mimosa/fp/Bigloo/"
 license=('GPL' 'LGPL')
-url="http://www-sop.inria.fr/mimosa/fp/Bigloo/"
-depends=('openssl' 'sqlite3' 'texinfo')
+depends=('openssl' 'sqlite3')
 makedepends=('jdk')
 options=('!makeflags')
-install=${pkgname}.install
+install=bigloo.install
 source=(ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${pkgname}${_pkgver}.tar.gz)
-md5sums=('cc07aefa51e14f3f8dbdaca9bc77386b')
+md5sums=('56a14f2dc903a59f8628f0d21018c8d2')
+sha1sums=('e2e55a1af5d7af74f11347d0575e3592a87d4090')
 
 build() {
   cd "${srcdir}/${pkgname}${_pkgver}"
@@ -25,13 +26,13 @@
     --infodir=/usr/share/info \
     --docdir=/usr/share/doc/bigloo \
     --dotnet=no \
-    --javaprefix=/opt/java/bin || return 1
-  make || return 1
+    --javaprefix=/opt/java/bin
+  make build compile-bee
 }
 
 package() {
   cd "${srcdir}/${pkgname}${_pkgver}"
-  make DESTDIR="${pkgdir}" install || return 1
-  make -C manuals DESTDIR="${pkgdir}" install-man-bee || return 1
-  chmod 644 "${pkgdir}"/usr/lib/bigloo/3.3a/*.a || return 1
+  make DESTDIR="${pkgdir}" install install-bee
+  make -C manuals DESTDIR="${pkgdir}" install-bee
+  chmod 644 "${pkgdir}"/usr/lib/bigloo/${_pkgver%-*}/*.a
 }

Modified: bigloo.install
===================================================================
--- bigloo.install	2010-07-09 22:08:43 UTC (rev 85149)
+++ bigloo.install	2010-07-09 22:09:27 UTC (rev 85150)
@@ -1,9 +1,10 @@
 infodir=/usr/share/info
-filelist=(bigloo.info.gz bigloo.info-1.gz bigloo.info-2.gz bigloo.info-3.gz)
+filelist=(bigloo.info bdb.info)
 
 post_install() {
+  [ -x usr/bin/install-info ] || return 0
   for file in ${filelist[@]}; do
-    install-info $infodir/$file $infodir/dir 2> /dev/null
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
   done
 }
 
@@ -12,7 +13,9 @@
 }
 
 pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
   for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
   done
 }
+



More information about the arch-commits mailing list