summaryrefslogtreecommitdiff
path: root/pcr/python2-qrencode
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-08-20 12:08:20 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-08-20 12:08:20 -0300
commit6fed873916a710bbe23fbf86b38fa0100f3c4267 (patch)
tree75382b3152a2ecb8b65d9d593a329df9283af8e5 /pcr/python2-qrencode
parentf1902a2852e3182a9dc67d2d4f63d7b91b25b226 (diff)
Monkeysign: OpenPGP Key Exchange for Humans
Diffstat (limited to 'pcr/python2-qrencode')
-rw-r--r--pcr/python2-qrencode/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python2-qrencode/PKGBUILD b/pcr/python2-qrencode/PKGBUILD
new file mode 100644
index 000000000..9661db1bc
--- /dev/null
+++ b/pcr/python2-qrencode/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: ValHue <vhuelamo at gmail dot com>
+# https://github.com/ValHue/AUR-PKGBUILDs
+#
+# Contributor: sevkin <vsevolod at balashov dot name>
+
+_python=python2
+_name=qrencode
+pkgname="${_python}-${_name}"
+pkgver=1.01
+pkgrel=4
+pkgdesc="Encodes QR-codes."
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/${_name}"
+license=('Apache')
+depends=("${_python}" 'qrencode')
+makedepends=('gcc')
+source=("http://pypi.python.org/packages/source/q/${_name}/${_name}-${pkgver}.tar.gz")
+md5sums=('5a1addd4d6e6412116fcfeb9661831a9')
+
+build() {
+ cd "${_name}-${pkgver}"
+ export PYTHON="/usr/bin/${_python}"
+ ${_python} setup.py build
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ ${_python} setup.py install --root="${pkgdir}" --prefix="/usr" --optimize=1
+}