From 5a109fd48ac3b74274bca1eb047604c5aa785363 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 2 Sep 2021 15:44:36 -0400 Subject: development/love: Fix -current build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/love/love.SlackBuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'development/love/love.SlackBuild') diff --git a/development/love/love.SlackBuild b/development/love/love.SlackBuild index 7c533f0255..5f1773677a 100644 --- a/development/love/love.SlackBuild +++ b/development/love/love.SlackBuild @@ -7,6 +7,7 @@ # Original version had no license; modified version licensed under the # WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210902 bkw: BUILD=2, get rid of .la file # 20200415 bkw: # - take over maintenance # - update for v11.3 @@ -15,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=love VERSION=${VERSION:-11.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -27,9 +28,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 @@ -80,6 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG gzip $PKG/usr/man/man1/$PRGNAM.1 +rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a changes.txt license.txt readme.md $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3