void-packages/srcpkgs/extractpdfmark/template
2019-04-21 18:42:37 -03:00

27 lines
768 B
Bash

# Template file for 'extractpdfmark'
pkgname=extractpdfmark
version=1.1.0
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=edc553051ab49b56cd9120a91b5548a88ee2fb92481330aaf4d45d0e3250761c
post_extract() {
if [ ! -d ${wrksrc}/${build_wrksrc} ]; then
mkdir ${wrksrc}/${build_wrksrc}
fi
}
pre_configure() {
cd ..
./autogen.sh
cd ${build_wrksrc}
}