summaryrefslogtreecommitdiff
path: root/extra/pycups/PKGBUILD
blob: 6af67b1438f89510aac8aebdfde7b1fcc7ea15e5 (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 205906 2014-02-13 18:15:29Z eric $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=pycups
pkgver=1.9.66
pkgrel=1
pkgdesc="Python CUPS Bindings"
arch=('i686' 'x86_64')
url="http://cyberelk.net/tim/software/pycups/"
license=('GPL')
depends=('libcups' 'python2')
source=(http://cyberelk.net/tim/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.asc})
md5sums=('a6cc4d40ac908dd9182ed93739b4bb79'
         'SKIP')

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

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