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

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Feb 6 11:24:26 UTC 2011


    Date: Sunday, February 6, 2011 @ 06:24:26
  Author: andyrtr
Revision: 109127

upgpkg: guile 1.8.8-1
upstream update 1.8.8

Modified:
  guile/trunk/PKGBUILD
  guile/trunk/guile.install

---------------+
 PKGBUILD      |   24 ++++++++++++++----------
 guile.install |   11 +++++++----
 2 files changed, 21 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-06 10:53:05 UTC (rev 109126)
+++ PKGBUILD	2011-02-06 11:24:26 UTC (rev 109127)
@@ -3,23 +3,27 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=guile
-pkgver=1.8.7
-pkgrel=2
-pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
+pkgver=1.8.8
+pkgrel=1
+pkgdesc="a portable, embeddable Scheme implementation written in C"
 url="http://www.gnu.org/software/guile/"
 arch=(i686 x86_64)
 license=('GPL')
 depends=('gmp' 'libtool' 'ncurses>=5.7' 'texinfo')
 install=guile.install
 source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-options=('!libtool' '!makeflags')
-md5sums=('991b5b3efcbbc3f7507d05bc42f80a5e')
+options=('!libtool')
+md5sums=('18661a8fdfef13e2fcb7651720aa53f3')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --disable-error-on-warning || return 1
-  make LDFLAGS+="-lpthread" || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  rm -f "${pkgdir}/usr/share/info/dir"
-  gzip "${pkgdir}/usr/share/info"/* || return 1
+  ./configure --prefix=/usr \
+	--disable-static  \
+	--disable-error-on-warning
+  make LDFLAGS+="-lpthread"
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Modified: guile.install
===================================================================
--- guile.install	2011-02-06 10:53:05 UTC (rev 109126)
+++ guile.install	2011-02-06 11:24:26 UTC (rev 109127)
@@ -1,3 +1,4 @@
+infodir=/usr/share/info
 files=(goops.info
        guile-tut.info
        guile.info
@@ -11,8 +12,9 @@
        r5rs.info)
 
 post_install() {
-  for f in "${files[@]}"; do
-    install-info usr/share/info/${f}.gz usr/share/info/dir 2>/dev/null
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
   done
 }
 
@@ -21,7 +23,8 @@
 }
 
 pre_remove() {
-  for f in "${files[@]}"; do
-    install-info --delete usr/share/info/${f}.gz usr/share/info/dir 2> /dev/null
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
   done
 }




More information about the arch-commits mailing list