diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/pycups/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/pycups/PKGBUILD')
-rw-r--r-- | extra/pycups/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/pycups/PKGBUILD b/extra/pycups/PKGBUILD new file mode 100644 index 000000000..6e0ae9700 --- /dev/null +++ b/extra/pycups/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 111850 2011-03-01 12:31:00Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: nesl247 <nesl247@gmail.com> + +pkgname=pycups +pkgver=1.9.54 +pkgrel=1 +pkgdesc="Python CUPS Bindings" +url="http://cyberelk.net/tim/software/pycups/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libcups' 'python2') +source=("http://cyberelk.net/tim/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('57e6e0b0e7ea814660c08b8d19fc20e1') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} |