diff options
author | B. Watson <yalhcru@gmail.com> | 2021-11-24 14:50:51 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-04 10:08:58 +0700 |
commit | 2afddf57b64ff4fc3b85c7e22eb130ada2e3c6e0 (patch) | |
tree | 178d29af9136acc93984adf11c878d524432bec9 /libraries/jbig2enc/jbig2enc.SlackBuild | |
parent | db68c1546092f287f0c807a1e47949a751de7f34 (diff) |
libraries/jbig2enc: Remove .la file.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/jbig2enc/jbig2enc.SlackBuild')
-rw-r--r-- | libraries/jbig2enc/jbig2enc.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libraries/jbig2enc/jbig2enc.SlackBuild b/libraries/jbig2enc/jbig2enc.SlackBuild index ecaea3475ddd8..d743ff4197367 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. |