void-packages/srcpkgs/qpdf/template
Nathan Owens 2546dfc299 qpdf: update to 9.1.0
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-11-24 10:53:46 +01:00

33 lines
916 B
Bash

# Template file for 'qpdf'
pkgname=qpdf
version=9.1.0
revision=1
wrksrc="qpdf-release-qpdf-${version}"
build_style=gnu-configure
hostmakedepends="perl"
makedepends="pcre-devel libjpeg-turbo-devel"
short_desc="Content-Preserving PDF Transformation System"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/qpdf/qpdf"
changelog="https://raw.githubusercontent.com/qpdf/qpdf/master/ChangeLog"
distfiles="${homepage}/archive/release-qpdf-${version}.tar.gz"
checksum=98364eb3fec1bdc4343c7708100624e5fd2b3ada8e52532ee3480e8265bd5c5c
libqpdf_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libqpdf-devel_package() {
depends="libqpdf>=${version}_${revision} libjpeg-turbo zlib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}