void-packages/srcpkgs/libqxp/template

32 lines
880 B
Bash

# Template file for 'libqxp'
pkgname=libqxp
version=0.0.2
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel librevenge-devel icu-devel"
short_desc="Parser for QuarkXPress file format documents"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libqxp"
distfiles="https://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=e137b6b110120a52c98edd02ebdc4095ee08d0d5295a94316a981750095a945c
libqxp-tools_package() {
short_desc+=" - tools"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}
libqxp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
}
}