aboutsummaryrefslogtreecommitdiff
path: root/academic/klavaro/klavaro.SlackBuild
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-02-17 12:58:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 12:58:30 +0700
commit63c70094dc84e7acaf62d6edf56925b8f7847649 (patch)
treebd025569c379ab2d685db569c388df53f6befca0 /academic/klavaro/klavaro.SlackBuild
parent3478ca776dbc102169b3da8fc791b8f4c65a81a4 (diff)
academic/klavaro: Updated for version 3.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/klavaro/klavaro.SlackBuild')
-rw-r--r--academic/klavaro/klavaro.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/academic/klavaro/klavaro.SlackBuild b/academic/klavaro/klavaro.SlackBuild
index 1c841bc66cac7..fd97e538b11b8 100644
--- a/academic/klavaro/klavaro.SlackBuild
+++ b/academic/klavaro/klavaro.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Klavaro
# Copyright 2015 Thibaut Notteboom
-# Copyright 2019 Johannes Schoepfer, Germany
+# Copyright 2019-2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=klavaro
-VERSION=${VERSION:-3.03}
+VERSION=${VERSION:-3.11}
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
@@ -92,8 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Don't ship .la files:
-#rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
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