diff options
author | Sebastien Ballet <slacker6896@gmail.com> | 2017-03-24 13:49:27 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 00:07:32 +0000 |
commit | f252293b735cfceb94d4e1461ccff190b2835116 (patch) | |
tree | f2ac82a8648bcfc6df700b3024105e71455acfcf /office | |
parent | 737325ffdfd8655085fbded6cff684af82707a81 (diff) |
office/cups-pdf: Updated for version 3.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/cups-pdf/README | 5 | ||||
-rw-r--r-- | office/cups-pdf/cups-pdf.SlackBuild | 31 | ||||
-rw-r--r-- | office/cups-pdf/cups-pdf.info | 6 | ||||
-rw-r--r-- | office/cups-pdf/doinst.sh | 1 | ||||
-rw-r--r-- | office/cups-pdf/slack-desc | 2 |
5 files changed, 34 insertions, 11 deletions
diff --git a/office/cups-pdf/README b/office/cups-pdf/README index a7b3ed4677021..f841a2519e844 100644 --- a/office/cups-pdf/README +++ b/office/cups-pdf/README @@ -1 +1,6 @@ cups-pdf is designed to produce PDF files by providing a PDF printer. + +Note: +---- +By default, cups-pdf output files are stored in /var/spool/cups-pdf/$USER +directory. This can be (re)configured in /etc/cups-pdf.conf (Key: Out). diff --git a/office/cups-pdf/cups-pdf.SlackBuild b/office/cups-pdf/cups-pdf.SlackBuild index 23d28b8125578..1a75532910100 100644 --- a/office/cups-pdf/cups-pdf.SlackBuild +++ b/office/cups-pdf/cups-pdf.SlackBuild @@ -1,17 +1,35 @@ #!/bin/sh # Slackware build script for cups-pdf -# Written by Sebastien Ballet (phenixi@aliceadsl.fr) -# Modified by SlackBuilds.org + +# Copyright 2010-2017 S. Ballet, France +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cups-pdf -VERSION=${VERSION:-3.0beta1} +VERSION=${VERSION:-3.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -24,8 +42,8 @@ OUTPUT=${OUTPUT:-/tmp} set -e -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -61,6 +79,7 @@ cat extra/cups-pdf.conf > $PKG/etc/cups/cups-pdf.conf.new mkdir -p $PKG/usr/share/cups/model cp -a extra/CUPS-PDF_opt.ppd $PKG/usr/share/cups/model/CUPS-PDF.ppd +cp -a extra/CUPS-PDF_noopt.ppd $PKG/usr/share/cups/model/CUPS-PDF_noopt.ppd mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/office/cups-pdf/cups-pdf.info b/office/cups-pdf/cups-pdf.info index 9a743de31a192..3fb31a199cdaf 100644 --- a/office/cups-pdf/cups-pdf.info +++ b/office/cups-pdf/cups-pdf.info @@ -1,8 +1,8 @@ PRGNAM="cups-pdf" -VERSION="3.0beta1" +VERSION="3.0.1" HOMEPAGE="http://www.cups-pdf.de/" -DOWNLOAD="http://www.cups-pdf.de/src/cups-pdf_3.0beta1.tar.gz" -MD5SUM="b5079bc5d86729b0b31d93a77b4a896f" +DOWNLOAD="http://www.cups-pdf.de/src/cups-pdf_3.0.1.tar.gz" +MD5SUM="5071bf192b9c6eb5ada4337b6917b939" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/office/cups-pdf/doinst.sh b/office/cups-pdf/doinst.sh index 9ac072f3a6f50..6f14948dd5556 100644 --- a/office/cups-pdf/doinst.sh +++ b/office/cups-pdf/doinst.sh @@ -11,4 +11,3 @@ config() { } config etc/cups/cups-pdf.conf.new - diff --git a/office/cups-pdf/slack-desc b/office/cups-pdf/slack-desc index e5075f300abeb..b0809494573f2 100644 --- a/office/cups-pdf/slack-desc +++ b/office/cups-pdf/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -cups-pdf: cups-pdf (print to a PDF file) +cups-pdf: cups-pdf (PDF printer for cups) cups-pdf: cups-pdf: This software is designed to produce PDF files by providing a PDF cups-pdf: printer. |