[arch-commits] Commit in (4 files)

Andrea Scarpino andrea at archlinux.org
Sun Jan 11 14:45:33 UTC 2009


    Date: Sunday, January 11, 2009 @ 09:45:33
  Author: andrea
Revision: 23644

added system-config-printer

Added:
  system-config-printer/
  system-config-printer/repos/
  system-config-printer/trunk/
  system-config-printer/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: system-config-printer/trunk/PKGBUILD
===================================================================
--- system-config-printer/trunk/PKGBUILD	                        (rev 0)
+++ system-config-printer/trunk/PKGBUILD	2009-01-11 14:45:33 UTC (rev 23644)
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD,v 1.20 2008/12/29 15:30:49 BaSh Exp $
+# Maintainer: Andrea Scarpino <bash.lnx at gmail.com>
+
+pkgname=system-config-printer
+pkgver=1.1.1
+pkgrel=2
+pkgdesc="Pygtk CUPS Configuration"
+url="http://cyberelk.net/tim/software/system-config-printer/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('pycups' 'pyxml' 'dbus-python')
+makedepends=('xmlto' 'docbook-xsl' 'perlxml' 'desktop-file-utils')
+source=(http://cyberelk.net/tim/data/$pkgname/1.1/$pkgname-$pkgver.tar.bz2)
+md5sums=('95ad721f3d274557144ddcf5e458a9e4')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc
+  make || return 1
+  
+  install -d ${pkgdir}/usr/share/${pkgname}
+  install -m644 config.py debug.py smburi.py ${pkgdir}/usr/share/${pkgname}/ || return 1
+  install -d ${pkgdir}/usr/lib/python2.6/site-packages/cupshelpers
+  for file in build/lib/cupshelpers/* ; do
+    install -m644 $file ${pkgdir}/usr/lib/python2.6/site-packages/cupshelpers/ || return 1
+  done
+}




More information about the arch-commits mailing list