summaryrefslogtreecommitdiff
path: root/extra/pycups/PKGBUILD
blob: 4936bab3d93ace4dac0802ce4e64822c7e8a33c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 134034 2011-08-01 10:36:25Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=pycups
pkgver=1.9.58
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=('320d8ce1f10dea9a3dd9054befaf6239')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python2 setup.py build
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python2 setup.py install --root="${pkgdir}" --optimize=1
}