summaryrefslogtreecommitdiff
path: root/libraries/imlib2_loaders/imlib2_loaders.SlackBuild
diff options
context:
space:
mode:
authorIgor Alexandrov <igor.alexandrov@outlook.com>2021-06-12 22:46:26 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-17 00:27:49 +0700
commit56ce9dd695b8959bcf6171e52a38bda025ed1a31 (patch)
treea57e732b32c881d7417c5232dde965326125585c /libraries/imlib2_loaders/imlib2_loaders.SlackBuild
parentb1e8ad56da62095da973ced5b410bd6cbcc8fe1b (diff)
downloadslackbuilds-56ce9dd695b8959bcf6171e52a38bda025ed1a31.tar.gz
libraries/imlib2_loaders: Updated to version 1.7.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/imlib2_loaders/imlib2_loaders.SlackBuild')
-rw-r--r--libraries/imlib2_loaders/imlib2_loaders.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/libraries/imlib2_loaders/imlib2_loaders.SlackBuild b/libraries/imlib2_loaders/imlib2_loaders.SlackBuild
index 3e53be2e6b..b6b5726a3d 100644
--- a/libraries/imlib2_loaders/imlib2_loaders.SlackBuild
+++ b/libraries/imlib2_loaders/imlib2_loaders.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for imlib2_loaders
# Copyright 2017 Azure Zanculmarktum <zanculmarktum@gmail.com>
+# Copyright 2020-2021 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated to version 1.6.1 by Igor Alexandrov <igor.alexandrov@outlook.com>
-# Updated to version 1.7.0 by Igor Alexandrov <igor.alexandrov@outlook.com>
-
PRGNAM=imlib2_loaders
-VERSION=${VERSION:-1.7.0}
+VERSION=${VERSION:-1.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,7 +55,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -83,9 +81,12 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--disable-eet \
--build=$ARCH-slackware-linux
-
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+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
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*/*/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING COPYING-PLAIN COPYING.loader_xcf ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION