void-packages/srcpkgs/libmspub/template

31 lines
846 B
Bash

# Template file for 'libmspub'
pkgname=libmspub
version=0.1.3
revision=1
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.eu>"
license="GPL-3"
homepage="http://cgit.freedesktop.org/libreoffice/libmspub/commit/"
distfiles="https://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.xz"
checksum=f0225f0ff03f6bec4847d7c2d8719a36cafc4b97a09e504b610372cc5b981c97
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
}
}