void-packages/srcpkgs/libmspub/template
2020-05-29 13:04:33 +02:00

30 lines
847 B
Bash

# Template file for 'libmspub'
pkgname=libmspub
version=0.1.4
revision=6
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
}
}