void-packages/srcpkgs/libmspub/template
2019-07-30 14:18:20 +02:00

30 lines
847 B
Bash

# Template file for 'libmspub'
pkgname=libmspub
version=0.1.4
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="icu-devel boost-devel librevenge-devel zlib-devel"
short_desc="Library for parsing the mspub file structure"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3"
homepage="http://cgit.freedesktop.org/libreoffice/libmspub/commit/"
distfiles="https://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.xz"
checksum=ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba
libmspub-devel_package() {
depends="libmspub>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libmspub-tools_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
}
}