libxo: update to 1.6.0; install .a archive for -devel

Co-authored-by: Duncaen <duncaen@voidlinux.org>
Closes: #47233 [via git-merge-pr]
This commit is contained in:
Martin Tournoij 2023-11-14 10:04:18 +00:00 committed by Duncaen
parent 0c805c8b9c
commit 8a4b56b210
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,15 +1,14 @@
# Template file for 'libxo'
pkgname=libxo
version=1.4.0
version=1.6.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
short_desc="Library for programs to output XML, JSON and HTML"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://juniper.github.io/libxo/libxo-manual.html"
distfiles="https://github.com/Juniper/libxo/releases/download/${version}/libxo-${version}.tar.gz"
checksum=aa842d9374bc0c640d9526abdeb6f1dc75c1a14e892eafd3c9e0ee2e8dfc1c43
checksum=9f2f276d7a5f25ff6fbfc0f38773d854c9356e7f985501627d0c0ee336c19006
case $XBPS_TARGET_MACHINE in
*-musl)
@ -32,8 +31,10 @@ libxo-devel_package() {
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/share/libxo
vmove "usr/lib/libxo/encoder/*.so"
vmove "usr/lib/libxo/encoder/*.a"
}
}