diff options
Diffstat (limited to 'office/coolreader/coolreader.SlackBuild')
-rw-r--r-- | office/coolreader/coolreader.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/office/coolreader/coolreader.SlackBuild b/office/coolreader/coolreader.SlackBuild index 0300e2eb12dc..ec60f65917a3 100644 --- a/office/coolreader/coolreader.SlackBuild +++ b/office/coolreader/coolreader.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for CoolReader -# 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,13 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=coolreader -VERSION=${VERSION:-3.0.50} +VERSION=${VERSION:-3.0.56} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -ORIG_FILENAME=cr ORIG_PRGNAM=cr3 -ORIG_VERSION=$VERSION-3 +ORIG_VERSION=$VERSION-7 +ORIG_DIRNAME=cr$ORIG_VERSION +ORIG_FILENAME=${ORIG_PRGNAM}_$VERSION.orig.tar.gz if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -63,9 +64,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $ORIG_FILENAME$ORIG_VERSION -tar xvf $CWD/$ORIG_PRGNAM\_$VERSION.orig.tar.gz -cd $ORIG_FILENAME$ORIG_VERSION +rm -rf $ORIG_DIRNAME +tar xvf $CWD/$ORIG_FILENAME +cd $ORIG_DIRNAME chown -R root:root . mkdir -p build |