From d915cad658736d96368750201c34df752048751a Mon Sep 17 00:00:00 2001 From: root Date: Sun, 3 Jun 2012 00:04:14 +0000 Subject: Sun Jun 3 00:04:13 UTC 2012 --- extra/system-config-printer/PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'extra/system-config-printer') diff --git a/extra/system-config-printer/PKGBUILD b/extra/system-config-printer/PKGBUILD index a34978cfa..4393e612a 100644 --- a/extra/system-config-printer/PKGBUILD +++ b/extra/system-config-printer/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 155747 2012-04-06 00:06:00Z tomegun $ +# $Id: PKGBUILD 160371 2012-06-01 12:58:45Z dreisner $ # Maintainer: Andrea Scarpino pkgbase=system-config-printer pkgname=('system-config-printer-common' 'system-config-printer-gnome') pkgver=1.3.9 -pkgrel=2 +pkgrel=3 pkgdesc="A CUPS printer configuration tool and status applet" url="http://cyberelk.net/tim/software/system-config-printer/" arch=('i686' 'x86_64') license=('GPL') -makedepends=('udev' 'libcups' 'intltool' 'python2' 'xmlto' 'docbook-xsl' 'desktop-file-utils') +makedepends=('udev' 'libcups' 'intltool' 'python2' 'xmlto' 'docbook-xsl' + 'libusb-compat' 'desktop-file-utils') source=(http://cyberelk.net/tim/data/${pkgbase}/1.3/${pkgbase}-${pkgver}.tar.xz{,.sig}) md5sums=('df424f127eede63965608e5ec5e27519' 'd105b7f7725c1ec538b6e6adb10667f3') @@ -21,7 +22,10 @@ build() { sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ $(find . -name '*.py') - sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" udev/udev-add-printer + sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" udev/udev-add-printer + + # Fix build with udev 183 + sed -i 's:udev_get_sys_path (udev):"/sys":' udev/udev-configure-printer.c ./configure --prefix=/usr \ --sbindir=/usr/bin \ -- cgit v1.2.3-54-g00ecf