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/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/pcr/python2-qrcode/PKGBUILD b/pcr/python2-qrcode/PKGBUILD
new file mode 100644
index 000000000..a0d2377cb
--- /dev/null
+++ b/pcr/python2-qrcode/PKGBUILD
@@ -0,0 +1,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=('python2-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: