summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5d1cd7861e5c79c23a5e75c7650ef30afa54a296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Joermungand <joermungand at gmail dot com>
# Contributor: nesl247 <nesl247@gmail.com>

pkgname=('python2-pycups')
pkgver=1.9.74
pkgrel=2
arch=('x86_64')
url="http://cyberelk.net/tim/software/pycups/"
license=('GPL')
pkgdesc="Python 2 CUPS Bindings"
depends=('libcups' 'python2')
source=(${pkgname#*-}-${pkgver}.tar.gz::https://github.com/zdohnal/pycups/archive/${pkgver}.tar.gz)
sha256sums=('d5b5e4058757d1c090c85ed2ee7e5c2c1785976dc934a6144dbf425398304850')

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

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