From 2afddf57b64ff4fc3b85c7e22eb130ada2e3c6e0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 24 Nov 2021 14:50:51 -0500 Subject: libraries/jbig2enc: Remove .la file. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/jbig2enc/jbig2enc.SlackBuild | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'libraries/jbig2enc') diff --git a/libraries/jbig2enc/jbig2enc.SlackBuild b/libraries/jbig2enc/jbig2enc.SlackBuild index ecaea3475ddd..d743ff419736 100644 --- a/libraries/jbig2enc/jbig2enc.SlackBuild +++ b/libraries/jbig2enc/jbig2enc.SlackBuild @@ -6,11 +6,13 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20211124 bkw: BUILD=2, remove .la file + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jbig2enc VERSION=${VERSION:-0.29} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +24,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 @@ -62,11 +61,8 @@ rm -rf $TARNAM tar xvf $CWD/$TARNAM.tar.gz cd $TARNAM chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ autoreconf -if @@ -85,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +rm -f $PKG/usr/lib*/*.la # man pages written for this SlackBuild, submitted upstream for # consideration. -- cgit v1.2.3