summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2020-11-20 15:54:56 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-22 01:14:20 +0700
commit4e0a281ecba84208cfda3622c6cc55c62e1cea77 (patch)
tree243e4b06c8a2f6dcbc691c5c9118c600efab844d
parent9cffe6a94560d0874e4c72bae16de065ecdfccab (diff)
downloadslackbuilds-4e0a281ecba84208cfda3622c6cc55c62e1cea77.tar.gz
development/tkdiff: Updated for version 5.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/tkdiff/tkdiff.SlackBuild13
-rw-r--r--development/tkdiff/tkdiff.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/development/tkdiff/tkdiff.SlackBuild b/development/tkdiff/tkdiff.SlackBuild
index 046113c60f..c98cda8637 100644
--- a/development/tkdiff/tkdiff.SlackBuild
+++ b/development/tkdiff/tkdiff.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tkdiff
-VERSION=${VERSION:-5.0}
+VERSION=${VERSION:-5.1}
+SRCVERSION=$( echo $VERSION | tr . - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,9 +35,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-TAR=${TAR:-unzip} #tar xvf
-SOURCE=${SOURCE:-tkdiff-5-0}
-TARFILE=${TARFILE:-tkdiff-5-0.zip}
+TAR=${TAR:-unzip}
+SOURCE=${SOURCE:-$PRGNAM-$SRCVERSION}
+TARFILE=${TARFILE:-$SOURCE.zip}
set -e
@@ -52,8 +53,8 @@ find -L . \
-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 {} \;
-mkdir -p $PKG/usr/bin
-cp -a $PRGNAM $PKG/usr/bin
+
+install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/tkdiff/tkdiff.info b/development/tkdiff/tkdiff.info
index e7f034cfa4..14b6418f85 100644
--- a/development/tkdiff/tkdiff.info
+++ b/development/tkdiff/tkdiff.info
@@ -1,8 +1,8 @@
PRGNAM="tkdiff"
-VERSION="5.0"
+VERSION="5.1"
HOMEPAGE="https://sourceforge.net/projects/tkdiff/"
-DOWNLOAD="https://sourceforge.net/projects/tkdiff/files/tkdiff/5.0/tkdiff-5-0.zip"
-MD5SUM="4e4ad77c54fc4d8057b29e14aa539d35"
+DOWNLOAD="https://sourceforge.net/projects/tkdiff/files/tkdiff/5.1/tkdiff-5-1.zip"
+MD5SUM="3c08e7985080e310c51ab29181df1856"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""