From 758d434c5f6a67df3775cb6a2e1dc8be0203b110 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Tue, 24 Oct 2023 22:00:57 +0900 Subject: graphics/birdfont: Fix DESTDIR handling. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- graphics/birdfont/birdfont.SlackBuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'graphics/birdfont') diff --git a/graphics/birdfont/birdfont.SlackBuild b/graphics/birdfont/birdfont.SlackBuild index 7f485fd4b2dbb..5346149641e15 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 -- cgit v1.2.3