void-packages/srcpkgs/Haru/template

28 lines
735 B
Bash

# Template file for 'Haru'
pkgname=Haru
version=2.3.0
revision=1
build_style=cmake
makedepends="zlib-devel libpng-devel"
short_desc="Free, cross platform, open source library for generating PDF files"
maintainer="Florian Eich <flrn@nrmncr.net>"
license="ZLIB/LIBPNG"
homepage="http://libharu.org/"
distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.tar.gz"
wrksrc="libharu-RELEASE_${version//./_}"
checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2
post_install() {
vlicense README LICENSE
}
Haru-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}