void-packages/srcpkgs/Haru/template
Nathan Owens cd5094e3e2 Haru: Added patches
Added patches created from upstream:
Fix unitialized ptr error
Add missing LICENSE file

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-13 11:23:14 +01:00

27 lines
728 B
Bash

# Template file for 'Haru'
pkgname=Haru
version=2.3.0
revision=2
wrksrc="libharu-RELEASE_${version//./_}"
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"
checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2
post_install() {
vlicense 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
}
}