void-packages/srcpkgs/extractpdfmark/template

28 lines
768 B
Bash

# Template file for 'extractpdfmark'
pkgname=extractpdfmark
version=1.0.3
revision=3
build_wrksrc=build
build_style=gnu-configure
configure_script="../configure"
hostmakedepends="pkg-config automake autogen gettext-devel"
makedepends="poppler-devel"
short_desc="Extract page mode and named destinations as PDFmark from PDF"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3.0-or-later"
homepage="https://www.ctan.org/pkg/extractpdfmark"
distfiles="https://github.com/trueroad/${pkgname}/archive/v${version}.tar.gz"
checksum=f7e8d9d2a87e043cebf7a00ec6af4fc640e5b8958d101559596e6b55d40ec3e2
post_extract() {
if [ ! -d ${wrksrc}/${build_wrksrc} ]; then
mkdir ${wrksrc}/${build_wrksrc}
fi
}
pre_configure() {
cd ..
./autogen.sh
cd ${build_wrksrc}
}