[arch-commits] Commit in system-config-printer/repos (4 files)

Eric Bélanger eric at nymeria.archlinux.org
Fri May 3 06:08:55 UTC 2013


    Date: Friday, May 3, 2013 @ 08:08:55
  Author: eric
Revision: 184175

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  system-config-printer/repos/testing-i686/
  system-config-printer/repos/testing-i686/PKGBUILD
    (from rev 184174, system-config-printer/trunk/PKGBUILD)
  system-config-printer/repos/testing-x86_64/
  system-config-printer/repos/testing-x86_64/PKGBUILD
    (from rev 184174, system-config-printer/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   43 +++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: system-config-printer/repos/testing-i686/PKGBUILD (from rev 184174, system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-03 06:08:55 UTC (rev 184175)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+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')
+license=('GPL')
+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}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('3267c2eac454f470c0659034196d2668'
+         'SKIP')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  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 \
+    --with-udev-rules
+
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: system-config-printer/repos/testing-x86_64/PKGBUILD (from rev 184174, system-config-printer/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-03 06:08:55 UTC (rev 184175)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+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')
+license=('GPL')
+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}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('3267c2eac454f470c0659034196d2668'
+         'SKIP')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  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 \
+    --with-udev-rules
+
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list