void-packages/srcpkgs/qpdf/template
2018-06-23 14:03:41 -03:00

32 lines
862 B
Bash

# Template file for 'qpdf'
pkgname=qpdf
version=8.1.0
revision=1
build_style=gnu-configure
hostmakedepends="perl"
makedepends="pcre-devel libjpeg-turbo-devel"
short_desc="A Content-Preserving PDF Transformation System"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="http://qpdf.sourceforge.net"
changelog="https://raw.githubusercontent.com/qpdf/qpdf/master/ChangeLog"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7d1f4827a3801a4b7d63f66fa50bbe237e74911801f3d31ee9f22f73e36370d4
libqpdf_package() {
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libqpdf-devel_package() {
depends="libqpdf>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}