From 3c27715c062433eec32f8de2eeb408cd40670609 Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Sat, 25 Apr 2015 19:28:03 +0530 Subject: system/testdisk: Updated for version 7.0. Signed-off-by: Willy Sudiarto Raharjo --- system/testdisk/doinst.sh | 11 +++++++++++ system/testdisk/testdisk.SlackBuild | 7 +++---- system/testdisk/testdisk.info | 6 +++--- 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 system/testdisk/doinst.sh (limited to 'system') diff --git a/system/testdisk/doinst.sh b/system/testdisk/doinst.sh new file mode 100644 index 0000000000000..bd8f3bab51089 --- /dev/null +++ b/system/testdisk/doinst.sh @@ -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 + diff --git a/system/testdisk/testdisk.SlackBuild b/system/testdisk/testdisk.SlackBuild index 867e4295de108..222fd76c0b09b 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 -# Copyright 2014 Aaditya Bagga +# Copyright 2014-2015 Aaditya Bagga # 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} diff --git a/system/testdisk/testdisk.info b/system/testdisk/testdisk.info index 450c456ee24bb..7114b414fbabc 100644 --- a/system/testdisk/testdisk.info +++ b/system/testdisk/testdisk.info @@ -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="" -- cgit v1.2.3