summaryrefslogtreecommitdiff
path: root/office/pdftk/pdftk.SlackBuild
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 /office/pdftk/pdftk.SlackBuild
parent74fb9218347298898d0c1b351ef08270b249cd91 (diff)
downloadslackbuilds-4368105c73212ecd0b84cf758463a6a5105651a6.tar.gz
office/pdftk: Updated for version 1.41
Diffstat (limited to 'office/pdftk/pdftk.SlackBuild')
-rw-r--r--office/pdftk/pdftk.SlackBuild12
1 files changed, 7 insertions, 5 deletions
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