diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2012-04-20 09:13:49 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-04-20 09:13:49 -0400 |
commit | 4a4098118a54deff4f7debb874605398a592d6d1 (patch) | |
tree | f65baddee69b907899c8e1cd71fb68f55eb16f23 /office/myrulib/myrulib.SlackBuild | |
parent | dc9279afc2004038a0dc11734d140daa36b6faa5 (diff) | |
download | slackbuilds-4a4098118a54deff4f7debb874605398a592d6d1.tar.gz |
office/myrulib: Updated for version 0.29.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/myrulib/myrulib.SlackBuild')
-rw-r--r-- | office/myrulib/myrulib.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/office/myrulib/myrulib.SlackBuild b/office/myrulib/myrulib.SlackBuild index a5e01ebced..d2d84d913e 100644 --- a/office/myrulib/myrulib.SlackBuild +++ b/office/myrulib/myrulib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for MyRuLib -# Copyright 2011 Fridrich von Stauffenberg <cancellor2@gmail.com> +# Copyright 2011-2012 Fridrich von Stauffenberg <cancellor2@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=myrulib -VERSION=${VERSION:-0.28.15} +VERSION=${VERSION:-0.29.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,14 +54,11 @@ else LIBDIRSUFFIX="" fi -if [ "${COOLREADER:-yes}" = "yes" ]; then - coolreader="--with-reader" -else - coolreader="" -fi - set -e +[ "${COOLREADER:-yes}" = "yes" ] && \ + coolreader="--with-reader" || coolreader="" + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -81,7 +78,7 @@ make make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp ChangeLog AUTHORS LICENSE INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |