summaryrefslogtreecommitdiff
path: root/extra/pycups/PKGBUILD
blob: 3f006e6db4b950f8a2d39bba39209a0063defcca (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 154446 2012-03-28 18:30:40Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=pycups
pkgver=1.9.61
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{,.asc})
md5sums=('7464093b349b907dcdefb913674e959b'
         'cb780142a614300792a08d462e198589')

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

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