graphics/birdfont: Fix DESTDIR handling.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-10-24 22:00:57 +09:00 committed by Willy Sudiarto Raharjo
parent 0c29fd813f
commit 758d434c5f
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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