# Template file for 'extractpdfmark' pkgname=extractpdfmark version=1.0.2 revision=5 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 " 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} }