From 6fed873916a710bbe23fbf86b38fa0100f3c4267 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 20 Aug 2013 12:08:20 -0300 Subject: Monkeysign: OpenPGP Key Exchange for Humans --- pcr/python2-qrencode/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcr/python2-qrencode/PKGBUILD (limited to 'pcr/python2-qrencode') 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 +# https://github.com/ValHue/AUR-PKGBUILDs +# +# Contributor: sevkin + +_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 +} -- cgit v1.2.3-54-g00ecf