summaryrefslogtreecommitdiff
path: root/multilib/lib32-libcups/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/lib32-libcups/PKGBUILD')
-rw-r--r--multilib/lib32-libcups/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/multilib/lib32-libcups/PKGBUILD b/multilib/lib32-libcups/PKGBUILD
index 0258acf26..356b3274a 100644
--- a/multilib/lib32-libcups/PKGBUILD
+++ b/multilib/lib32-libcups/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 63968 2012-02-08 18:20:35Z pschmitz $
+# $Id: PKGBUILD 70966 2012-05-20 20:35:00Z bluewind $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
_pkgbasename=libcups
pkgname=lib32-$_pkgbasename
-pkgver=1.5.2
+pkgver=1.5.3
pkgrel=1
pkgdesc="The CUPS Printing System - client libraries (32-bit)"
arch=('x86_64')
@@ -11,8 +11,9 @@ license=('GPL')
url="http://www.cups.org/"
depends=(lib32-krb5 lib32-libtiff lib32-libpng $_pkgbasename)
makedepends=(gcc-multilib)
-source=(ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2)
-md5sums=('9471d2a7c920cfbb17133c32d2e6866f')
+source=(ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2 fix-libusb-configure.patch)
+md5sums=('e1ad15257aa6f162414ea3beae0c5df8'
+ '9cf39a66f21d1208a585367b25cf117b')
build() {
export CC="gcc -m32"
@@ -20,13 +21,15 @@ build() {
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd ${srcdir}/cups-${pkgver}
+
+ patch -p1 -i "$srcdir/fix-libusb-configure.patch"
aclocal -I config-scripts
autoconf -I config-scripts
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-ldap --enable-raw-printing --disable-gssapi --disable-dbus \
- --enable-ssl=no --disable-gnutls --enable-threads \
+ --enable-ssl=no --disable-gnutls --enable-threads --enable-libusb=no \
--with-optim="$CFLAGS" --libdir=/usr/lib32
make
}