summaryrefslogtreecommitdiffstats
path: root/academic/klavaro/klavaro.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/klavaro/klavaro.SlackBuild')
-rw-r--r--academic/klavaro/klavaro.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/academic/klavaro/klavaro.SlackBuild b/academic/klavaro/klavaro.SlackBuild
index 1c841bc66c..926705cdc7 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.14}
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
@@ -102,7 +98,7 @@ 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 ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
+cp -a ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild