summaryrefslogtreecommitdiff
path: root/graphics/djview4/djview4.SlackBuild
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-09-12 23:23:39 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-12 14:20:43 -0500
commit0639701a53e5e4c1b7a068a6ec76b2c373e6f015 (patch)
tree73053b099ebeb0a6aa372e86505f4a54eb4fd360 /graphics/djview4/djview4.SlackBuild
parent7c8f3645ac5823ab6d65e8270a5e8658c520c2ca (diff)
downloadslackbuilds-0639701a53e5e4c1b7a068a6ec76b2c373e6f015.tar.gz
graphics/djview4: Updated for version 4.9 (+new maintainer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 ae6e173fcf..1ba4ea8c94 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