archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pycups / repos / extra-x86_64 / PKGBUILD
blob9c8bf71c4408a60e4761154cfbae3e94a9212d66
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: nesl247 <nesl247@gmail.com>
4 pkgbase=pycups
5 pkgname=('python-pycups')
6 pkgver=2.0.1
7 pkgrel=6
8 arch=('x86_64')
9 url="https://github.com/OpenPrinting/pycups"
10 license=('GPL')
11 pkgdesc="Python bindings for libcups"
12 depends=('libcups' 'python')
13 provides=('pycups')
14 source=(https://github.com/OpenPrinting/pycups/archive/v${pkgver}.tar.gz)
15 sha256sums=('cf7e63b07e2dbc6811e77f55cc11d7191799298a6565b83fc028ee3c9da0ad78')
17 build() {
18   cd ${pkgbase}-${pkgver}
19   python setup.py build
22 package() {
23   cd ${pkgbase}-${pkgver}
24   python setup.py install --root="${pkgdir}" --optimize=1