aboutsummaryrefslogtreecommitdiff
path: root/system/terminology/terminology.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/terminology/terminology.SlackBuild')
-rw-r--r--system/terminology/terminology.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/system/terminology/terminology.SlackBuild b/system/terminology/terminology.SlackBuild
index ba00ac83e0ad8..75fc18ae75cdf 100644
--- a/system/terminology/terminology.SlackBuild
+++ b/system/terminology/terminology.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2017 Erik Falor <ewfalor@gmail.com>, Logan, Utah, USA
+# Copyright 2018 Erik Falor <ewfalor@gmail.com>, Logan, Utah, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=terminology
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +52,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING NEWS README TODO"
+DOCS="AUTHORS COPYING ChangeLog DESIGN.md NEWS README.md TODO"
set -e
@@ -71,17 +71,16 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+meson \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+ . build
-make
-make install DESTDIR=$PKG
+ninja -C build -v
+DESTDIR=$PKG ninja -C build -v install
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