void-packages/srcpkgs/libqxp/template
2018-07-21 18:26:51 +02:00

31 lines
888 B
Bash

# Template file for 'libqxp'
pkgname=libqxp
version=0.0.1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel librevenge-devel icu-devel"
short_desc="Parser for QuarkXPress file format documents"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libqxp/"
distfiles="https://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=8c257f6184ff94aefa7c9fa1cfae82083d55a49247266905c71c53e013f95c73
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
}
}