aboutsummaryrefslogtreecommitdiff
path: root/misc/dwdiff/dwdiff.SlackBuild
diff options
context:
space:
mode:
authorslakmagik <jsun@freeshell.org>2010-05-12 17:42:23 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:42:23 +0200
commite301f1c504596121a3f60b5d8c203f758fd6cea1 (patch)
tree2ec3acf3f7549e8471dd7d44a650e57dfe587427 /misc/dwdiff/dwdiff.SlackBuild
parent51b9a04475c3b2972ef4e1cb46819e69923aae70 (diff)
misc/dwdiff: Updated for version 1.5.2
Diffstat (limited to 'misc/dwdiff/dwdiff.SlackBuild')
-rw-r--r--misc/dwdiff/dwdiff.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/dwdiff/dwdiff.SlackBuild b/misc/dwdiff/dwdiff.SlackBuild
index 54969883d4f37..3953478a18ab6 100644
--- a/misc/dwdiff/dwdiff.SlackBuild
+++ b/misc/dwdiff/dwdiff.SlackBuild
@@ -5,7 +5,7 @@
# Released under the WTFPL
PRGNAM=dwdiff
-VERSION=1.4
+VERSION=${VERSION:-1.5.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -24,9 +24,9 @@ elif [ "$ARCH" = "x86_64" ]; then
fi
if [[ -z $UNICODE ]]; then
- UNICODE=without
+ UNICODE=without
else
- UNICODE=with
+ UNICODE=with
fi
set -e
@@ -57,7 +57,7 @@ make LINGUAS="${NLS:=""}" prefix=$PKG/usr install
mv $PKG/usr/share/doc $PKG/usr
if [ -z "$NLS" ]; then # share/ will be empty
- rmdir $PKG/usr/share
+ rmdir $PKG/usr/share
fi
( cd $PKG
@@ -72,6 +72,8 @@ fi
for i in $(find . -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
)
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc