summaryrefslogtreecommitdiffstats
path: root/system/testdisk/testdisk.SlackBuild
diff options
context:
space:
mode:
author Aaditya Bagga2015-04-25 15:58:03 +0200
committer Willy Sudiarto Raharjo2015-04-25 16:24:47 +0200
commit3c27715c062433eec32f8de2eeb408cd40670609 (patch)
treea5e544972a978624bd3681460dc5bcf1e6976acc /system/testdisk/testdisk.SlackBuild
parent8380d886c88ebcdd5494446b4d219a30d72c790a (diff)
downloadslackbuilds-3c27715c062433eec32f8de2eeb408cd40670609.tar.gz
system/testdisk: Updated for version 7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/testdisk/testdisk.SlackBuild')
-rw-r--r--system/testdisk/testdisk.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/system/testdisk/testdisk.SlackBuild b/system/testdisk/testdisk.SlackBuild
index 867e4295de..222fd76c0b 100644
--- a/system/testdisk/testdisk.SlackBuild
+++ b/system/testdisk/testdisk.SlackBuild
@@ -4,7 +4,7 @@
# Originally Written by Michales Michaloudes korgie@gmail.com
# Copyright 2011 Grigorios Bouzakis <grbzks@imap.cc>
-# Copyright 2014 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2014-2015 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -23,7 +23,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=testdisk
-VERSION=${VERSION:-6.14}
+VERSION=${VERSION:-7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -94,12 +94,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-mv $PKG/usr/share/doc $PKG/usr ; rmdir $PKG/usr/share
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}