summaryrefslogtreecommitdiff
path: root/pcr/python2-qrcode/PKGBUILD
blob: dd756eb95bda91fd760ffdf631b550f9992e8a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: Francois Boulogne <fboulogne at april dot org>
# Maintainer: Francois Boulogne <fboulogne at april dot org>

pkgname=python2-qrcode
pkgver=2.7
pkgrel=1
pkgdesc="Python library to generate QR codes"
arch=('any')
url="https://github.com/lincolnloop/python-qrcode"
license=('BSD')
depends=('python-imaging' 'python2')
source=(http://pypi.python.org/packages/source/q/qrcode/qrcode-${pkgver}.tar.gz)
md5sums=("9c0c3d85aae468ac5ed9a501306d00d0")

package() {
  cd "$srcdir/qrcode-$pkgver"

  python2 setup.py install --root="${pkgdir}"
}

# vim:ts=2:sw=2:et: