summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYalla-One <yallaone@gmail.com>2010-05-11 19:46:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:16 +0200
commit4368105c73212ecd0b84cf758463a6a5105651a6 (patch)
treefd700feee6d21313a9e717cad8829b9cbd95af48
parent74fb9218347298898d0c1b351ef08270b249cd91 (diff)
downloadslackbuilds-4368105c73212ecd0b84cf758463a6a5105651a6.tar.gz
office/pdftk: Updated for version 1.41
-rw-r--r--office/pdftk/README2
-rw-r--r--office/pdftk/pdftk.SlackBuild12
-rw-r--r--office/pdftk/pdftk.info10
-rw-r--r--office/pdftk/slack-desc10
4 files changed, 21 insertions, 13 deletions
diff --git a/office/pdftk/README b/office/pdftk/README
index 8f794903e1..ca5d6cba4c 100644
--- a/office/pdftk/README
+++ b/office/pdftk/README
@@ -5,5 +5,3 @@ with PDF documents. Keep one in the top drawer of your desktop and
use it to: Merge PDF documents, split PDF documents, apply watermark,
repair corrupt PDF, update PDF metadata and much more.
pdftk does not require Acrobat and is free software (GPL)
-
-pdftk requires java.
diff --git a/office/pdftk/pdftk.SlackBuild b/office/pdftk/pdftk.SlackBuild
index 2fae9abea0..f30a19af76 100644
--- a/office/pdftk/pdftk.SlackBuild
+++ b/office/pdftk/pdftk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pdftk
-# Copyright 2006 Halim Issa <yallaone@gmail.com>
+# Copyright 2006-2007 Yalla-One <yallaone@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,11 @@
# Modified by the SlackBuilds.org project
PRGNAM=pdftk
-VERSION=1.12
+VERSION=1.41
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,11 +64,13 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make -f Makefile.Generic || exit 1
-mkdir -p $PKG/usr/bin
+mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION}
+
cp -a pdftk $PKG/usr/bin
strip --strip-unneeded $PKG/usr/bin/pdftk 2> /dev/null
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd ..
+cat debian/pdftk.1 | gzip -9c > $PKG/usr/man/man1/pdftk.1.gz
cat pdftk.1.txt > $PKG/usr/doc/$PRGNAM-$VERSION/pdftk.1.txt
cat pdftk.1.html > $PKG/usr/doc/$PRGNAM-$VERSION/pdftk.1.html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/pdftk/pdftk.info b/office/pdftk/pdftk.info
index 090ee3a47f..f0be783af1 100644
--- a/office/pdftk/pdftk.info
+++ b/office/pdftk/pdftk.info
@@ -1,8 +1,8 @@
PRGNAM="pdftk"
-VERSION="1.12"
-HOMEPAGE="http://www.accesspdf.com/pdftk/"
-DOWNLOAD="http://www.pdfhacks.com/pdftk/pdftk-1.12.tar.bz2"
-MD5SUM="ec1b6d9e06109c6f05e19033f1d91d8a"
+VERSION="1.41"
+HOMEPAGE="http://www.pdfhacks.com/pdftk/"
+DOWNLOAD="http://www.pdfhacks.com/pdftk/pdftk-1.41.tar.bz2"
+MD5SUM="7214230b937dc996d209c05b7b7b3518"
MAINTAINER="Yalla-One"
EMAIL="yallaone@gmail.com"
-APPROVED="robw810"
+APPROVED="rworkman"
diff --git a/office/pdftk/slack-desc b/office/pdftk/slack-desc
index 25d602b2ea..6904b96625 100644
--- a/office/pdftk/slack-desc
+++ b/office/pdftk/slack-desc
@@ -1,4 +1,12 @@
-pdftk: pdftk - the pdf toolkit
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+pdftk: pdftk (pdf toolkit)
pdftk:
pdftk: If PDF is electronic paper, then pdftk is an electronic
pdftk: staple-remover, hole-punch, binder, secret-decoder-ring, and