[arch-commits] Commit in system-config-printer/repos (3 files)
Eric Bélanger
eric at archlinux.org
Mon Oct 20 02:01:14 UTC 2014
Date: Monday, October 20, 2014 @ 04:01:14
Author: eric
Revision: 224851
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
system-config-printer/repos/staging-i686/
system-config-printer/repos/staging-x86_64/
system-config-printer/repos/staging-x86_64/PKGBUILD
(from rev 224850, system-config-printer/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: system-config-printer/repos/staging-x86_64/PKGBUILD (from rev 224850, system-config-printer/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-10-20 02:01:14 UTC (rev 224851)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.3
+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=('python-pycups' 'python-dbus' 'python-pycurl' 'python-gobject2' 'libnotify'
+ 'gnome-icon-theme' 'python-gobject' 'gtk3' 'python-cairo' 'python-packagekit')
+makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils')
+optdepends=('libgnome-keyring: password management'
+ 'python-pysmbc: SMB browser support')
+source=(http://cyberelk.net/tim/data/${pkgname}/${pkgver%*.*}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('ffedc4d9d175163e1b0e9ddfef51578d'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --with-udevdir=/usr/lib/udev --with-udev-rules
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # Compile *.pyc
+ find "${pkgdir}" -name '*.py' -exec python -mpy_compile {} +
+ # Compile *.pyo
+ find "${pkgdir}" -name '*.py' -exec python -O -mpy_compile {} +
+}
More information about the arch-commits
mailing list