diff options
Diffstat (limited to 'development/tkdiff/tkdiff.SlackBuild')
-rw-r--r-- | development/tkdiff/tkdiff.SlackBuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/development/tkdiff/tkdiff.SlackBuild b/development/tkdiff/tkdiff.SlackBuild index 5dd199ed0d686..cdcb35308eecc 100644 --- a/development/tkdiff/tkdiff.SlackBuild +++ b/development/tkdiff/tkdiff.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for tkdiff -# Copyright 2017 Duncan Roe, Melbourne, Australia +# Copyright 2017,2018 Duncan Roe, Melbourne, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tkdiff -VERSION=${VERSION:-4.2} +VERSION=${VERSION:-4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,14 +34,19 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# The next group of variables attempt to enable building 4.2 +TAR=${TAR:-unzip} #tar xvf +SOURCE=${SOURCE:-tkdiff-4-3} #tkdiff-unix +TARFILE=${TARFILE:-tkdiff-4-3.zip} #$PRGNAM-$VERSION.tar.gz + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf tkdiff-unix -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd tkdiff-unix +rm -rf $SOURCE +$TAR $CWD/$TARFILE +cd $SOURCE chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -55,7 +60,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.txt LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |