summaryrefslogtreecommitdiff
path: root/pcr/python2-qrcode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-qrcode/PKGBUILD')
-rw-r--r--pcr/python2-qrcode/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/python2-qrcode/PKGBUILD b/pcr/python2-qrcode/PKGBUILD
new file mode 100644
index 000000000..cd807331e
--- /dev/null
+++ b/pcr/python2-qrcode/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=python2-qrcode
+pkgver=2.3.1
+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=("574a5e617e87fd00a47a5abcc53443b4")
+
+package() {
+ cd "$srcdir/qrcode-$pkgver"
+
+ python2 setup.py install --root="${pkgdir}"
+
+}
+
+# vim:ts=2:sw=2:et: