diff options
Diffstat (limited to 'system/testdisk/testdisk.SlackBuild')
-rw-r--r-- | system/testdisk/testdisk.SlackBuild | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/system/testdisk/testdisk.SlackBuild b/system/testdisk/testdisk.SlackBuild index 4968879bfa..b7a3a4f2f6 100644 --- a/system/testdisk/testdisk.SlackBuild +++ b/system/testdisk/testdisk.SlackBuild @@ -4,7 +4,9 @@ # Originally Written by Michales Michaloudes korgie@gmail.com # Copyright 2011 Grigorios Bouzakis <grbzks@imap.cc> -# Copyright 2014-2015 Aaditya Bagga <aaditya_gnulinux@zoho.com> +# Copyright 2014-2024 Aaditya <aaditya_gnulinux@zoho.com> +# All rights reserved. +# Copyright 2024 Bloyburt # All rights reserved. # # Permission to use, copy, modify, and distribute this software for any purpose @@ -25,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=testdisk -VERSION=${VERSION:-7.0} -BUILD=${BUILD:-1} +VERSION=${VERSION:-7.2} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -64,8 +63,6 @@ else LIBDIRSUFFIX="" fi -DOCS="COPYING INFO" - set -e rm -rf $PKG @@ -76,12 +73,12 @@ 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" = "true" ] && ENABLE_SUDO="--enable-sudo" +[ "${SUDO:-false}" != "false" ] && ENABLE_SUDO="--enable-sudo" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |