void-packages/srcpkgs/libmspub/template

31 lines
846 B
Bash
Raw Normal View History

2014-10-02 20:03:29 +00:00
# Template file for 'libmspub'
pkgname=libmspub
2015-01-02 10:58:47 +00:00
version=0.1.2
2015-11-29 08:30:48 +00:00
revision=3
2014-10-02 20:03:29 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config"
2015-11-29 08:30:48 +00:00
makedepends="icu-devel boost-devel librevenge-devel zlib-devel"
2014-10-02 20:03:29 +00:00
short_desc="Library for parsing the mspub file structure"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-10-02 20:03:29 +00:00
license="GPL-3"
homepage="http://cgit.freedesktop.org/libreoffice/libmspub/commit/"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.bz2"
2015-01-02 10:58:47 +00:00
checksum=26d488527ffbb0b41686d4bab756e3e6aaeb99f88adeb169d0c16d2cde96859a
2014-10-02 20:03:29 +00:00
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
}
}