diff options
Diffstat (limited to 'office/pdftk/pdftk.SlackBuild')
-rw-r--r-- | office/pdftk/pdftk.SlackBuild | 12 |
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 |