diff options
Diffstat (limited to 'academic/klavaro/klavaro.SlackBuild')
-rw-r--r-- | academic/klavaro/klavaro.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/academic/klavaro/klavaro.SlackBuild b/academic/klavaro/klavaro.SlackBuild index 1c841bc66cac..fd97e538b11b 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 |