development/kdiff3: Updated for version 1.9.6 and new maintainer.

See
https://lists.slackbuilds.org/pipermail/slackbuilds-users/2023-August/028454.html
for maintainer transfer record.

Signed-off-by: Erich Ritz <erich.public@protonmail.com>
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erich Ritz 2023-08-10 11:07:49 -05:00 committed by Willy Sudiarto Raharjo
parent 9da3447a4c
commit 21f04404be
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 19 additions and 16 deletions

View File

@ -3,6 +3,7 @@
# Slackware build script for: kdiff3
# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
# Copyright (c) 2017 Ricardo J. Barberis <ricardo.barberis@gmail.com>
# Copyright 2023 Erich Ritz, Jenks, Oklahoma, USA
# All rights reserved.
#
# QT4ONLY option courtesy of Ekin Akoglu, adapted by Ricardo J. Barberis
@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kdiff3
VERSION=${VERSION:-1.9.3}
VERSION=${VERSION:-1.9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -40,9 +41,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
@ -86,12 +84,13 @@ if [ "${QT4ONLY}" == "no" ] ; then
mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DKDE_INSTALL_DOCBUNDLEDIR=/usr/doc/HTML \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install VERBOSE=1 DESTDIR=$PKG
@ -136,9 +135,13 @@ fi
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/share/applications -type f -exec chmod 644 {} \;
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 AUTHORS COPYING ChangeLog INSTALL README doc \
cp -a AUTHORS COPYING ChangeLog README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;

View File

@ -1,10 +1,10 @@
PRGNAM="kdiff3"
VERSION="1.9.3"
VERSION="1.9.6"
HOMEPAGE="https://apps.kde.org/kdiff3/"
DOWNLOAD="https://download.kde.org/stable/kdiff3/kdiff3-1.9.3.tar.xz"
MD5SUM="7f90489aa8f1e62cb37a297c4d9788fd"
DOWNLOAD="https://download.kde.org/stable/kdiff3/kdiff3-1.9.6.tar.xz"
MD5SUM="b00a17a0289b9c56c5944264265f12a0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Ricardo J. Barberis"
EMAIL="ricardo.barberis@gmail.com"
MAINTAINER="Erich Ritz"
EMAIL="erich.public@protonmail.com"