development/tkdiff: Updated for version 5.1.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Duncan Roe 2020-11-20 15:54:56 +00:00 committed by Willy Sudiarto Raharjo
parent 9cffe6a945
commit 4e0a281ecb
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 9 deletions

View file

@ -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

View file

@ -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=""