summaryrefslogtreecommitdiff
path: root/extra/system-config-printer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/system-config-printer/PKGBUILD')
-rw-r--r--extra/system-config-printer/PKGBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/extra/system-config-printer/PKGBUILD b/extra/system-config-printer/PKGBUILD
index 47da491d8..262f68908 100644
--- a/extra/system-config-printer/PKGBUILD
+++ b/extra/system-config-printer/PKGBUILD
@@ -1,37 +1,34 @@
-# $Id: PKGBUILD 178008 2013-02-13 13:30:36Z andrea $
+# $Id: PKGBUILD 184759 2013-05-07 22:59:56Z eric $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=system-config-printer
-pkgver=1.3.12
-pkgrel=2
+pkgver=1.4.0
+pkgrel=1
pkgdesc="A CUPS printer configuration tool and status applet"
url="http://cyberelk.net/tim/software/system-config-printer/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
-depends=('udev' 'pycups' 'python2-dbus' 'pysmbc' 'python2-pycurl' 'libusb-compat'
- 'gnome-icon-theme' 'python2-notify')
+depends=('systemd' 'pycups' 'python2-dbus' 'pysmbc' 'python2-pycurl' 'libusb-compat'
+ 'gnome-icon-theme' 'python2-notify' 'python2-gobject' 'dbus-glib' 'gtk3')
makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils')
optdepends=('gnome-keyring: password management')
replaces=('system-config-printer-common' 'system-config-printer-gnome')
conflicts=('system-config-printer-common' 'system-config-printer-gnome')
-source=(http://cyberelk.net/tim/data/${pkgname}/1.3/${pkgname}-${pkgver}.tar.xz{,.sig}
- 'fix-typo-in-service.patch')
-md5sums=('0775647e1c34ef25364de3c178a4ed36'
- '1aa2246047b424e2d23473749368b8c6'
- 'd30d14aeb6d2bfeac0679d28704473ec')
+source=(http://cyberelk.net/tim/data/${pkgname}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('3267c2eac454f470c0659034196d2668'
+ 'SKIP')
-build() {
+prepare() {
cd ${pkgname}-${pkgver}
-
- # Fixed upstream
- patch -p1 -i "${srcdir}"/fix-typo-in-service.patch
-
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
+}
+build() {
+ cd ${pkgname}-${pkgver}
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \