From 4368105c73212ecd0b84cf758463a6a5105651a6 Mon Sep 17 00:00:00 2001 From: Yalla-One Date: Tue, 11 May 2010 19:46:16 +0200 Subject: office/pdftk: Updated for version 1.41 --- office/pdftk/pdftk.SlackBuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'office/pdftk/pdftk.SlackBuild') diff --git a/office/pdftk/pdftk.SlackBuild b/office/pdftk/pdftk.SlackBuild index 2fae9abea0b76..f30a19af762b5 100644 --- a/office/pdftk/pdftk.SlackBuild +++ b/office/pdftk/pdftk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pdftk -# Copyright 2006 Halim Issa +# Copyright 2006-2007 Yalla-One # 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 -- cgit v1.2.3