aboutsummaryrefslogtreecommitdiff
path: root/graphics/djview4/djview4.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/djview4/djview4.SlackBuild')
-rw-r--r--graphics/djview4/djview4.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index ae6e173fcf2ed..1ba4ea8c94e81 100644
--- a/graphics/djview4/djview4.SlackBuild
+++ b/graphics/djview4/djview4.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for DjView4
# Copyright 2008-2010 Murat D. Kadirov <banderols@gmail.com>
+# Copyright 2012 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=djview4
-VERSION=${VERSION:-4.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/djview-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -107,7 +108,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT COPYING INSTALL NEWS README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYRIGHT COPYING INSTALL NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install