diff options
author | Erich Ritz <erich.public@protonmail.com> | 2023-08-10 11:07:49 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-12 08:29:49 +0700 |
commit | 21f04404bef50156e9c96bdfa951422b94995d6f (patch) | |
tree | 21a158d074645f93851f9608aa55c539af66ee43 | |
parent | 9da3447a4cbb36f4193ecc584208a6268d128868 (diff) |
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>
-rw-r--r-- | development/kdiff3/kdiff3.SlackBuild | 25 | ||||
-rw-r--r-- | development/kdiff3/kdiff3.info | 10 |
2 files changed, 19 insertions, 16 deletions
diff --git a/development/kdiff3/kdiff3.SlackBuild b/development/kdiff3/kdiff3.SlackBuild index 0abea60463df1..e697acc6c0dfa 100644 --- a/development/kdiff3/kdiff3.SlackBuild +++ b/development/kdiff3/kdiff3.SlackBuild @@ -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 {} \; diff --git a/development/kdiff3/kdiff3.info b/development/kdiff3/kdiff3.info index da9717962f125..01d30b4e73273 100644 --- a/development/kdiff3/kdiff3.info +++ b/development/kdiff3/kdiff3.info @@ -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" |