mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
office/pdftk: Updated for version 1.41
This commit is contained in:
parent
74fb921834
commit
4368105c73
4 changed files with 21 additions and 13 deletions
|
@ -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,
|
use it to: Merge PDF documents, split PDF documents, apply watermark,
|
||||||
repair corrupt PDF, update PDF metadata and much more.
|
repair corrupt PDF, update PDF metadata and much more.
|
||||||
pdftk does not require Acrobat and is free software (GPL)
|
pdftk does not require Acrobat and is free software (GPL)
|
||||||
|
|
||||||
pdftk requires java.
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for pdftk
|
# Slackware build script for pdftk
|
||||||
|
|
||||||
# Copyright 2006 Halim Issa <yallaone@gmail.com>
|
# Copyright 2006-2007 Yalla-One <yallaone@gmail.com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,11 +25,11 @@
|
||||||
# Modified by the SlackBuilds.org project
|
# Modified by the SlackBuilds.org project
|
||||||
|
|
||||||
PRGNAM=pdftk
|
PRGNAM=pdftk
|
||||||
VERSION=1.12
|
VERSION=1.41
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
CWD=`pwd`
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
@ -64,11 +64,13 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
make -f Makefile.Generic || exit 1
|
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
|
cp -a pdftk $PKG/usr/bin
|
||||||
strip --strip-unneeded $PKG/usr/bin/pdftk 2> /dev/null
|
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.txt > $PKG/usr/doc/$PRGNAM-$VERSION/pdftk.1.txt
|
||||||
cat pdftk.1.html > $PKG/usr/doc/$PRGNAM-$VERSION/pdftk.1.html
|
cat pdftk.1.html > $PKG/usr/doc/$PRGNAM-$VERSION/pdftk.1.html
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="pdftk"
|
PRGNAM="pdftk"
|
||||||
VERSION="1.12"
|
VERSION="1.41"
|
||||||
HOMEPAGE="http://www.accesspdf.com/pdftk/"
|
HOMEPAGE="http://www.pdfhacks.com/pdftk/"
|
||||||
DOWNLOAD="http://www.pdfhacks.com/pdftk/pdftk-1.12.tar.bz2"
|
DOWNLOAD="http://www.pdfhacks.com/pdftk/pdftk-1.41.tar.bz2"
|
||||||
MD5SUM="ec1b6d9e06109c6f05e19033f1d91d8a"
|
MD5SUM="7214230b937dc996d209c05b7b7b3518"
|
||||||
MAINTAINER="Yalla-One"
|
MAINTAINER="Yalla-One"
|
||||||
EMAIL="yallaone@gmail.com"
|
EMAIL="yallaone@gmail.com"
|
||||||
APPROVED="robw810"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -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:
|
||||||
pdftk: If PDF is electronic paper, then pdftk is an electronic
|
pdftk: If PDF is electronic paper, then pdftk is an electronic
|
||||||
pdftk: staple-remover, hole-punch, binder, secret-decoder-ring, and
|
pdftk: staple-remover, hole-punch, binder, secret-decoder-ring, and
|
||||||
|
|
Loading…
Reference in a new issue