mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
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>
This commit is contained in:
parent
54023430cf
commit
b278a1edb8
2 changed files with 13 additions and 5 deletions
|
@ -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 \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libxmlb"
|
||||
VERSION="0.3.8"
|
||||
VERSION="0.3.10"
|
||||
HOMEPAGE="https://github.com/hughsie/libxmlb"
|
||||
DOWNLOAD="https://github.com/hughsie/libxmlb/archive/0.3.8/libxmlb-0.3.8.tar.gz"
|
||||
MD5SUM="0e5de44f7c1c03995284507665d5217b"
|
||||
DOWNLOAD="https://github.com/hughsie/libxmlb/archive/0.3.10/libxmlb-0.3.10.tar.gz"
|
||||
MD5SUM="8e9240b2b292b846beb29ae5428af75f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue