summaryrefslogtreecommitdiffstats
path: root/system/testdisk/testdisk.SlackBuild
diff options
context:
space:
mode:
author Aaditya <aaditya_gnulinux@zoho.com>2024-04-15 14:38:44 +0530
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-16 06:12:41 +0700
commit1d5801aeb2ce244592a15431bb91d4c1ebb81bc6 (patch)
treed9f1a4644e389b5aaf912b48ffeddd8ef8477728 /system/testdisk/testdisk.SlackBuild
parentf0c8eeb8b36e5b2f99493d030d69422937d5f578 (diff)
downloadslackbuilds-1d5801aeb2ce244592a15431bb91d4c1ebb81bc6.tar.gz
slackbuilds-1d5801aeb2ce244592a15431bb91d4c1ebb81bc6.tar.xz
system/testdisk: Updated for version 7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/testdisk/testdisk.SlackBuild')
-rw-r--r--system/testdisk/testdisk.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/system/testdisk/testdisk.SlackBuild b/system/testdisk/testdisk.SlackBuild
index 837778fc1c..4f84854e0b 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-2022 Aaditya <aaditya_gnulinux@zoho.com>
+# Copyright 2014-2024 Aaditya <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=testdisk
-VERSION=${VERSION:-7.1}
+VERSION=${VERSION:-7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,10 +71,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
[ "${SUDO:-false}" != "false" ] && ENABLE_SUDO="--enable-sudo"
@@ -99,9 +99,6 @@ 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
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING NEWS README.md INFO THANKS AUTHORS \
- $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install