void-packages/srcpkgs/extractpdfmark/template

28 lines
759 B
Bash

# Template file for 'extractpdfmark'
pkgname=extractpdfmark
version=1.0.2
revision=4
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"
homepage="https://www.ctan.org/pkg/extractpdfmark"
distfiles="https://github.com/trueroad/${pkgname}/archive/v${version}.tar.gz"
checksum=2c630d7016ad13b4676eb40d664a564fe849bd2dec6f1dafc0de33ec3755bc9c
post_extract() {
if [ ! -d ${wrksrc}/${build_wrksrc} ]; then
mkdir ${wrksrc}/${build_wrksrc}
fi
}
pre_configure() {
cd ..
./autogen.sh
cd ${build_wrksrc}
}