system/terminology: Fix ninja brokenness.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-09 17:03:46 -05:00 committed by Willy Sudiarto Raharjo
parent 3563a01836
commit 21385db19d
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 7 additions and 5 deletions

View File

@ -82,16 +82,18 @@ 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 {} \;
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson \
meson .. \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
. build
--mandir=/usr/man
"${NINJA:=ninja}"
$NINJA -C build -v
DESTDIR=$PKG $NINJA -C build -v install
$NINJA -v
DESTDIR=$PKG $NINJA -v install
cd -
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