summaryrefslogtreecommitdiffstats
path: root/misc/rsibreak/rsibreak.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rsibreak/rsibreak.SlackBuild')
-rw-r--r--misc/rsibreak/rsibreak.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/misc/rsibreak/rsibreak.SlackBuild b/misc/rsibreak/rsibreak.SlackBuild
index 50777009cd..44525d3710 100644
--- a/misc/rsibreak/rsibreak.SlackBuild
+++ b/misc/rsibreak/rsibreak.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for rsibreak
# Originally written by Roberto Neri <rneri@libero.it>
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rsibreak
-VERSION=${VERSION:-0.12.14}
+VERSION=${VERSION:-0.12.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,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,7 +83,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
+ -DKDE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
..
make
@@ -97,7 +94,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 AUTHORS ChangeLog COPYING COPYING.DOC HACKING NEWS TODO \
+cp -a AUTHORS ChangeLog HACKING NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild