aboutsummaryrefslogtreecommitdiff
path: root/graphics/chafa/chafa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/chafa/chafa.SlackBuild')
-rw-r--r--graphics/chafa/chafa.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/chafa/chafa.SlackBuild b/graphics/chafa/chafa.SlackBuild
index 2292fd5558..c47b124558 100644
--- a/graphics/chafa/chafa.SlackBuild
+++ b/graphics/chafa/chafa.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for chafa
-# Copyright 2022-2024 Vijay Marcel
+# Copyright 2022-2025 Vijay Marcel
# All rights reserved.
#
@@ -37,13 +37,14 @@
# 18/08/2024: Updated to version 1.14.2
# 11/09/2024: Opdated to version 1.14.4
# 20/11/2024: Updated to version 1.14.5
-
+# 10/06/2025: updated to version 1.16.1
+# 25/07/2025: updated to version 1.16.2
#-----------------------------------------------------------------------------------------#
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=chafa
-VERSION=${VERSION:-1.14.5}
+VERSION=${VERSION:-1.16.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -92,9 +93,9 @@ cd $PRGNAM-$VERSION
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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
CFLAGS="$SLKCFLAGS $(pkg-config --libs libwebp)" \
@@ -120,7 +121,7 @@ make install DESTDIR=$PKG
/sbin/ldconfig
# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true