aboutsummaryrefslogtreecommitdiff
path: root/graphics/birdfont/birdfont.SlackBuild
diff options
context:
space:
mode:
authorGiancarlo Dessi <slack@giand.it>2023-09-07 20:09:38 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-09 10:14:09 +0700
commit752299c7e73aff0b14d975b491ba73d1ed335987 (patch)
treea7fee2825d0a2fe4e5ef114682310fa378464f63 /graphics/birdfont/birdfont.SlackBuild
parent3707237965df01dcd956985c368411e4ae0b4253 (diff)
graphics/birdfont: Updated for version 2.33.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/birdfont/birdfont.SlackBuild')
-rw-r--r--graphics/birdfont/birdfont.SlackBuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/graphics/birdfont/birdfont.SlackBuild b/graphics/birdfont/birdfont.SlackBuild
index afd0a23ca9..7936b2e107 100644
--- a/graphics/birdfont/birdfont.SlackBuild
+++ b/graphics/birdfont/birdfont.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for birdfont
-# Copyright 2020-2022 Giancarlo Dessì, Cagliari, IT
+# Copyright 2020-2023 Giancarlo Dessi, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=birdfont
-VERSION=${VERSION:-2.32.3}
+VERSION=${VERSION:-2.33.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,7 +43,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,6 +69,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+
+patch -p1 < $CWD/install-path.patch
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,12 +79,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./configure --prefix=$PKG/usr
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure --prefix=/usr --dest=/
./build.py
./install.py
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 2> /dev/null || true