aboutsummaryrefslogtreecommitdiff
path: root/libraries/libxmlb/libxmlb.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-10-01 09:55:36 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-01 09:01:20 +0700
commitb278a1edb88871935cc857070f308a1fe350014e (patch)
treec8ebd60f3db71568cac64c9083e07d0fc951b9ae /libraries/libxmlb/libxmlb.SlackBuild
parent54023430cfdae881530ecbef7fada6b71850b150 (diff)
libraries/libxmlb: Updated for version 0.3.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libxmlb/libxmlb.SlackBuild')
-rw-r--r--libraries/libxmlb/libxmlb.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/libraries/libxmlb/libxmlb.SlackBuild b/libraries/libxmlb/libxmlb.SlackBuild
index 7f76b91edd45f..cd260419553db 100644
--- a/libraries/libxmlb/libxmlb.SlackBuild
+++ b/libraries/libxmlb/libxmlb.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for libxmlb
# Copyright 2019-2022 Andrew Clemons, Wellington New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libxmlb
-VERSION=${VERSION:-0.3.8}
+VERSION=${VERSION:-0.3.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,8 +80,12 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson \
- --prefix=/usr \
+ --buildtype=release \
+ --infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
--sysconfdir=/etc \
build
"${NINJA:=ninja}" -C build
@@ -89,6 +94,9 @@ DESTDIR=$PKG $NINJA -C build 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
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CODE_OF_CONDUCT.md LICENSE MAINTAINERS NEWS README.md \