void-packages/srcpkgs/extractpdfmark/template

31 lines
933 B
Bash

# Template file for 'extractpdfmark'
pkgname=extractpdfmark
version=1.1.1
revision=2
build_wrksrc=build
build_style=gnu-configure
configure_script="../configure"
configure_args="--with-poppler=cpp"
hostmakedepends="pkg-config automake autogen gettext-devel tar"
makedepends="poppler-cpp-devel"
checkdepends="ghostscript texlive"
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"
changelog="https://raw.githubusercontent.com/trueroad/extractpdfmark/master/NEWS"
distfiles="https://github.com/trueroad/extractpdfmark/archive/v${version}.tar.gz"
checksum=9dab715fdd4ce0c34a3d83899c4263a2ab59f649df0f221d335535d6c9546191
post_extract() {
if [ ! -d ${wrksrc}/${build_wrksrc} ]; then
mkdir ${wrksrc}/${build_wrksrc}
fi
}
pre_configure() {
cd ..
./autogen.sh
cd ${build_wrksrc}
}