summaryrefslogtreecommitdiff
path: root/system/dar/dar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/dar/dar.SlackBuild')
-rw-r--r--system/dar/dar.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/dar/dar.SlackBuild b/system/dar/dar.SlackBuild
index 5d038ddfb2..4a4d43790f 100644
--- a/system/dar/dar.SlackBuild
+++ b/system/dar/dar.SlackBuild
@@ -3,7 +3,8 @@
# Slackware Package Build Script for Disk ARchive (DAR)
# Home Page http://dar.linux.free.fr/
-# Copyright (c) 2007-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
+# Copyright (c) 2007-2011, Nishant Limbachia, Hoffman Estates, IL, USA
+# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +30,7 @@
# No additional license terms added :-)
PRGNAM="dar"
-VERSION="2.3.10"
+VERSION=${VERSION:-2.3.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,10 +97,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+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
mv $PKG/usr/share/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION