Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9d52bf549e45f861c5e79abb80adb3a1644a1a3f

commit 9d52bf549e45f861c5e79abb80adb3a1644a1a3f
Author: Devil505 <devil505li...@gmail.com>
Date:   Wed Jul 27 10:14:38 2011 +0200

Revert "slib-3b3-3-i686"

This reverts commit c26ff5fb18082a99beeb33c006aea180818d84f1.

diff --git a/source/lib-extra/slib/FrugalBuild 
b/source/lib-extra/slib/FrugalBuild
index a4fd88f..b08b297 100644
--- a/source/lib-extra/slib/FrugalBuild
+++ b/source/lib-extra/slib/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=slib
pkgver=3b3
-pkgrel=3
+pkgrel=2
pkgdesc="A library providing functions for Scheme implementations"
url="http://swissnet.ai.mit.edu/~jaffer/SLIB.html";
depends=('guile' 'texinfo')
diff --git a/source/lib-extra/slib/slib.install 
b/source/lib-extra/slib/slib.install
index 2ff35ee..ed3f0e2 100644
--- a/source/lib-extra/slib/slib.install
+++ b/source/lib-extra/slib/slib.install
@@ -1,14 +1,18 @@
-post_upgrade () {
-  usr/bin/guile -c "((use-modules (ice-9 slib))(require 'new-catalog)(quit))"
-  usr/bin/install-info usr/share/info/slib.info.gz usr/share/info/dir 
2>/dev/null
-}
post_install() {
-  post_upgrade
+       echo -n "Installing slibcat... "
+       guile -l /usr/share/guile/1.8/slib/guile.init -c "(use-modules (ice-9 
slib)) (require 'new-catalog)"
+       echo "done."
+}
+
+post_upgrade() {
+       post_remove
+       post_install
}

-pre_remove() {
-  rm usr/share/guile/site/slibcat
-  usr/bin/install-info --delete usr/share/info/slib.info.gz usr/share/info/dir 
2>/dev/null
+post_remove() {
+       echo -n "Removing slibcat... "
+       rm -rf /usr/share/guile/1.8/slibcat
+       echo "done."
}

op=$1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to