diff options
Diffstat (limited to 'libraries/slib')
-rw-r--r-- | libraries/slib/slib.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/slib/slib.info | 2 |
2 files changed, 16 insertions, 2 deletions
diff --git a/libraries/slib/slib.SlackBuild b/libraries/slib/slib.SlackBuild index 94c98a99f2..9b3a02516e 100644 --- a/libraries/slib/slib.SlackBuild +++ b/libraries/slib/slib.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=slib VERSION=3b2 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -95,8 +95,22 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# Guile script to be run on installation, to build slibcat +cat >> $PKG/usr/doc/$PRGNAM-$VERSION/guile-slibcat.script << EOF +(use-modules (ice-9 slib)) +(require 'new-catalog) +(quit) +EOF + + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat >> $PKG/install/doinst.sh <<EOF +#!/bin/sh + +guile -q -s /usr/doc/$PRGNAM-$VERSION/guile-slibcat.script + +EOF cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/slib/slib.info b/libraries/slib/slib.info index 24eec31ca2..0d60324eff 100644 --- a/libraries/slib/slib.info +++ b/libraries/slib/slib.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Vincent Batts" EMAIL="vbatts@hashbangbash.com" -APPROVED="rworkman" +APPROVED="dsomero" |