system/testdisk: Updated for version 7.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Aaditya Bagga 2015-04-25 19:28:03 +05:30 committed by Willy Sudiarto Raharjo
parent 8380d886c8
commit 3c27715c06
3 changed files with 17 additions and 7 deletions

11
system/testdisk/doinst.sh Normal file
View File

@ -0,0 +1,11 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View File

@ -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}

View File

@ -1,8 +1,8 @@
PRGNAM="testdisk"
VERSION="6.14"
VERSION="7.0"
HOMEPAGE="http://www.cgsecurity.org"
DOWNLOAD="http://www.cgsecurity.org/testdisk-6.14.tar.bz2"
MD5SUM="b1f0edabc9035e9ec9c8e0a95059ff3f"
DOWNLOAD="http://www.cgsecurity.org/testdisk-7.0.tar.bz2"
MD5SUM="f0cfe4ca9dd35f2878b2704251665e9f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""