summaryrefslogtreecommitdiff
path: root/extra/cups/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-05 22:48:57 +0000
committerroot <root@rshg047.dnsready.net>2011-06-05 22:48:57 +0000
commit3695b5d62c2aef6e82abc95d775a2ebd89bce081 (patch)
treedb3a874c568e5f5ad3dfe651ceda1df63d5f354f /extra/cups/PKGBUILD
parent80ba845c7cb571644d9dea61b9872c393d128c37 (diff)
Sun Jun 5 22:48:57 UTC 2011
Diffstat (limited to 'extra/cups/PKGBUILD')
-rw-r--r--extra/cups/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/cups/PKGBUILD b/extra/cups/PKGBUILD
index 64ab5d109..2ddf74e03 100644
--- a/extra/cups/PKGBUILD
+++ b/extra/cups/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 121078 2011-04-29 00:03:07Z stephane $
+# $Id: PKGBUILD 126330 2011-06-04 22:35:21Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=1.4.6
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.cups.org/"
@@ -25,7 +25,7 @@ md5sums=('de8fb5a29c36554925c0c6a6e2c0dae1'
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
# Avahi support in the dnssd backend. patch from Fedora
- patch -Np1 -i ${srcdir}/cups-avahi.patch || return 1
+ patch -Np1 -i ${srcdir}/cups-avahi.patch
# Rebuild configure script for --enable-avahi.
aclocal -I config-scripts
@@ -37,7 +37,7 @@ build() {
--disable-ldap --libdir=/usr/lib --enable-raw-printing \
--enable-dbus --with-dbusdir=/etc/dbus-1 --enable-ssl=yes --enable-gnutls --disable-threads --enable-avahi\
--with-php=/usr/bin/php-cgi --with-pdftops=pdftops --with-optim="$CFLAGS"
- make || return 1
+ make
}
package_libcups() {
@@ -45,7 +45,7 @@ pkgdesc="The CUPS Printing System - client libraries and headers"
depends=('gnutls>=2.8.3' 'libtiff>=3.9.2-2' 'libpng>=1.4.0' 'krb5' 'avahi')
cd ${srcdir}/${pkgbase}-${pkgver}
- make BUILDROOT=${pkgdir} install-headers install-libs || return 1
+ make BUILDROOT=${pkgdir} install-headers install-libs
# put this into the libs pkg to make other software find the libs(no pkg-config file included)
mkdir -p ${pkgdir}/usr/bin
install -m755 ${srcdir}/${pkgbase}-${pkgver}/cups-config ${pkgdir}/usr/bin/cups-config
@@ -67,10 +67,14 @@ backup=(etc/cups/cupsd.conf
etc/pam.d/cups
etc/xinetd.d/cups-lpd)
depends=('acl' 'openslp' 'pam' "libcups>=${pkgver}" 'xdg-utils' 'poppler>=0.12.3' 'libusb-compat' 'dbus-core' 'hicolor-icon-theme')
-optdepends=('php: for included phpcups.so module')
+optdepends=('php: for included phpcups.so module'
+ 'ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images'
+ 'foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly'
+ 'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly'
+ 'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly')
cd ${srcdir}/${pkgbase}-${pkgver}
- make BUILDROOT=${pkgdir} install-data install-exec || return 1
+ make BUILDROOT=${pkgdir} install-data install-exec
# this one we ship in the libcups pkg
rm -f ${pkgdir}/usr/bin/cups-config