diff options
Diffstat (limited to 'libraries/libtermkey/libtermkey.SlackBuild')
-rw-r--r-- | libraries/libtermkey/libtermkey.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/libtermkey/libtermkey.SlackBuild b/libraries/libtermkey/libtermkey.SlackBuild index 5926ea3897..680221f709 100644 --- a/libraries/libtermkey/libtermkey.SlackBuild +++ b/libraries/libtermkey/libtermkey.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for libtermkey +# Copyright 2024 Alexander Verbovetsky, Moscow, Russia +# Copyright 2021 Ruben Schuller <sb@rbn.im> # Copyright 2015-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # @@ -26,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libtermkey VERSION=${VERSION:-0.22} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +40,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 @@ -85,11 +84,10 @@ 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 \ - LICENSE \ - $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |