diff options
author | root <root@rshg054.dnsready.net> | 2012-06-03 00:04:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-03 00:04:14 +0000 |
commit | d915cad658736d96368750201c34df752048751a (patch) | |
tree | a6d70fb8b01aaa111efbc8a6874a8f94b882626d /extra/system-config-printer/PKGBUILD | |
parent | 211709a2f09bd677aa1deac0dc82fde6ce1c8626 (diff) |
Sun Jun 3 00:04:13 UTC 2012
Diffstat (limited to 'extra/system-config-printer/PKGBUILD')
-rw-r--r-- | extra/system-config-printer/PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
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 <andrea@archlinux.org> 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 \ |