some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
40 lines
1,021 B
Bash
40 lines
1,021 B
Bash
# Template file for 'libxo'
|
|
pkgname=libxo
|
|
version=1.0.4
|
|
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=23885980313c42211610a65004f9f319804f2ff8e94b2e83b04f4920bf45f6cb
|
|
|
|
post_install() {
|
|
vlicense Copyright
|
|
|
|
rm -rf ${DESTDIR}/usr/share/doc/libxo/Copyright
|
|
}
|
|
|
|
libxo-devel_package() {
|
|
depends="libxo-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/libxo-config
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/libxo
|
|
vmove "usr/lib/libxo/encoder/*.so"
|
|
}
|
|
}
|
|
|
|
libxo-progs_package() {
|
|
short_desc+=" - programs and utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share/man/man1
|
|
}
|
|
}
|