aboutsummaryrefslogtreecommitdiff
path: root/office/myrulib/myrulib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/myrulib/myrulib.SlackBuild')
-rw-r--r--office/myrulib/myrulib.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/office/myrulib/myrulib.SlackBuild b/office/myrulib/myrulib.SlackBuild
index a5e01ebced918..d2d84d913e692 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