summaryrefslogtreecommitdiff
path: root/extra/cups-pdf/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-30 22:33:37 +0000
committerroot <root@rshg047.dnsready.net>2011-04-30 22:33:37 +0000
commitc173ac862828a54925737fc1d90ede1dd09a312c (patch)
tree63d6b46455a4abdaf96aef59bbaa4406c6fe04f8 /extra/cups-pdf/PKGBUILD
parent693b5793b8c615601135bc04216a2ca0966087c5 (diff)
Sat Apr 30 22:33:37 UTC 2011
Diffstat (limited to 'extra/cups-pdf/PKGBUILD')
-rw-r--r--extra/cups-pdf/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/cups-pdf/PKGBUILD b/extra/cups-pdf/PKGBUILD
index c613ca4e3..aef413f1b 100644
--- a/extra/cups-pdf/PKGBUILD
+++ b/extra/cups-pdf/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 30278 2009-03-18 07:31:03Z andyrtr $
+# $Id: PKGBUILD 121266 2011-04-29 22:22:36Z andyrtr $
# Maintainer: Andreas Radke <andyrtr at archlinux.org>
# Contributor: Thomas Baechler <thomas.baechler@rwth-aachen.de>
pkgname=cups-pdf
-pkgver=2.5.0
+pkgver=2.5.1
pkgrel=1
pkgdesc="PDF printer for cups"
arch=(i686 x86_64)
@@ -13,19 +13,22 @@ url="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
license=('GPL2')
source=(http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/cups-pdf_$pkgver.tar.gz)
backup=(etc/cups/cups-pdf.conf)
-md5sums=('9194af099a8c0e9aa213505b29ec6818')
+md5sums=('4b4cf1a249d02a38045db74b5f259aac')
build() {
- # Build and install
cd $srcdir/$pkgname-$pkgver/src
[ -z "$CC" ] && CC=gcc
- $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c || return 1
- install -D -m700 cups-pdf $pkgdir/usr/lib/cups/backend/cups-pdf || return 1
+ $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver/src
+ install -D -m700 cups-pdf $pkgdir/usr/lib/cups/backend/cups-pdf
# Install Postscript Color printer
cd ../extra
- install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd || return 1
+ install -D -m644 CUPS-PDF.ppd $pkgdir/usr/share/cups/model/CUPS-PDF.ppd
# Install config file
- install -D -m644 cups-pdf.conf $startdir/pkg/etc/cups/cups-pdf.conf || return 1
+ install -D -m644 cups-pdf.conf $pkgdir/etc/cups/cups-pdf.conf
}