# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-qrcode _pkgname=qrcode pkgver=5.3 pkgrel=0 pkgdesc="A QR code image generator" url="https://github.com/lincolnloop/python-qrcode" arch="noarch" license="BSD" depends="python py-pillow" depends_dev="" makedepends="python-dev py-setuptools" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/lincolnloop/python-qrcode/archive/v5.3.tar.gz" builddir="$srcdir"/python-qrcode-$pkgver build() { cd "$builddir" python setup.py build || return 1 } package() { cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="81e3670f61bdf186ded61d6bafa847ec py-qrcode-5.3.tar.gz" sha256sums="933123de02a116303ccdf92d1d32c65f24bf8a69faf7ecde41bd8cf4f975ad87 py-qrcode-5.3.tar.gz" sha512sums="9c25cadc4a5d82aabc754027373eb9700cbe4e3148fb84de1356df49dad0bfad0b86956d6e32c72448a2838f9815a029a0807c8f23f8dae042a44346c2654487 py-qrcode-5.3.tar.gz"