aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-10-24 22:00:57 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-26 08:28:18 +0700
commit758d434c5f6a67df3775cb6a2e1dc8be0203b110 (patch)
tree19a9772cc2a7604544f0e2c62e292a55ec92d72e /graphics
parent0c29fd813f382b3fe2ce1f60eddff92d1d6bdec5 (diff)
graphics/birdfont: Fix DESTDIR handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/birdfont/birdfont.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/graphics/birdfont/birdfont.SlackBuild b/graphics/birdfont/birdfont.SlackBuild
index 7f485fd4b2db..5346149641e1 100644
--- a/graphics/birdfont/birdfont.SlackBuild
+++ b/graphics/birdfont/birdfont.SlackBuild
@@ -70,8 +70,6 @@ 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 \
@@ -79,15 +77,13 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure --prefix=/usr --dest=/
+./configure --prefix=/usr --cflags="$SLKCFLAGS"
./build.py
-./install.py
+./install.py --dest "$PKG" --libdir /lib$LIBDIRSUFFIX --manpages-directory /man/man1
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*
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