summaryrefslogtreecommitdiff
path: root/office/coolreader/coolreader.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-03-30 00:06:33 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-03-30 00:06:33 -0400
commitb95dd6c50d9a60af9ed4e759444fec8d3cc1d809 (patch)
tree2a66ced7767d03c744b29250fd8765d8956ee7c9 /office/coolreader/coolreader.SlackBuild
parent392188d6d5a91f99d797155317c18b3e01522ace (diff)
downloadslackbuilds-b95dd6c50d9a60af9ed4e759444fec8d3cc1d809.tar.gz
office/coolreader: Updated for version 3.0.56.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/coolreader/coolreader.SlackBuild')
-rw-r--r--office/coolreader/coolreader.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/office/coolreader/coolreader.SlackBuild b/office/coolreader/coolreader.SlackBuild
index 0300e2eb12..ec60f65917 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