void-packages/srcpkgs/libmspub/template
maxice8 37cc02ba1d libmspub: update to 0.1.4.
Closes: #12008 [via git-merge-pr]
2018-03-06 22:29:26 -08:00

30 lines
846 B
Bash

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