aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-09 17:03:46 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:38 +0700
commit21385db19db1362a41aa5d787f8aabab902effc8 (patch)
tree6b8057510a81429e22747ba25fd10d56c724b95d /system
parent3563a0183683fff7a878c7851593e1db2599d69b (diff)
system/terminology: Fix ninja brokenness.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/terminology/terminology.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/terminology/terminology.SlackBuild b/system/terminology/terminology.SlackBuild
index d6c93a02b920..6c052f0eafeb 100644
--- a/system/terminology/terminology.SlackBuild
+++ b/system/terminology/terminology.SlackBuild
@@ -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