2015-04-24 03:38:10 +02:00
|
|
|
# Template file for 'pdftk'
|
|
|
|
pkgname=pdftk
|
|
|
|
version=2.02
|
|
|
|
revision=1
|
|
|
|
wrksrc="${pkgname}-${version}-dist"
|
|
|
|
build_wrksrc=${pkgname}
|
|
|
|
hostmakedepends="unzip gcc-gcj"
|
|
|
|
makedepends="libgcj-devel"
|
|
|
|
nocross=yes
|
|
|
|
short_desc="Command-line tool for working with PDFs"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://www.pdflabs.com/tools/pdftk-server/"
|
|
|
|
distfiles="http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${pkgname}-${version}-src.zip"
|
|
|
|
checksum=118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1
|
|
|
|
|
2015-04-26 07:27:31 +02:00
|
|
|
do_build() {
|
2015-04-24 03:38:10 +02:00
|
|
|
cp ${FILESDIR}/Makefile Makefile
|
2015-04-26 07:27:31 +02:00
|
|
|
make
|
2015-04-24 03:38:10 +02:00
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
vbin pdftk
|
|
|
|
vman ../pdftk.1
|
|
|
|
}
|