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

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

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

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