summaryrefslogtreecommitdiff
path: root/extra/pycups/PKGBUILD
blob: 1400f73d6b95da4de2d381349ee9b5cede6925ef (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
25
# $Id: PKGBUILD 164649 2012-08-01 18:38:32Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=pycups
pkgver=1.9.62
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{,.sig})
md5sums=('b62fb397c0997dc4adf44487f4bdf5ae'
         'ced304a64389f2a0cf4178acc002562d')

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

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