summaryrefslogtreecommitdiff
path: root/extra/pycups/PKGBUILD
blob: 9c30e726677b567775487e8892d3ec3cff0e7f3b (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' 'mips64el')
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
}