summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDavid P <megver83@openmailbox.org>2017-03-21 08:56:51 -0300
committerDavid P <megver83@openmailbox.org>2017-03-21 08:56:51 -0300
commit5e525b1bb7838995ea88c0d218c181b148f0ff2e (patch)
treee9640cdccf003bdff609700a2b457ea1d0854484 /pcr
parentba364cab3fd6478bb0b5a53335d888495bf1c0ab (diff)
downloadabslibre-5e525b1bb7838995ea88c0d218c181b148f0ff2e.tar.gz
abslibre-5e525b1bb7838995ea88c0d218c181b148f0ff2e.tar.bz2
abslibre-5e525b1bb7838995ea88c0d218c181b148f0ff2e.zip
Added PKGBUILD
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python2-qrtools/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/python2-qrtools/PKGBUILD b/pcr/python2-qrtools/PKGBUILD
new file mode 100644
index 000000000..cb2e5a9f8
--- /dev/null
+++ b/pcr/python2-qrtools/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: ValHue <vhuelamo at gmail dot com>
+# https://github.com/ValHue/AUR-PKGBUILDs
+#
+# Contributor: ValHue <vhuelamo at gmail dot com>
+#
+_python="python2"
+_name="qr-tools"
+_subname="qrtools"
+_ubuntur="0~23~ubuntu16.10.1"
+pkgname="${_python}-${_subname}"
+pkgver="1.4"
+pkgrel="1"
+pkgdesc="A high level library for reading and generating QR codes."
+url="https://launchpad.net/qr-tools"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=("${_python}" "${_python}-pillow" "zbar" 'qrencode')
+provides=("${pkgname}")
+source=("https://launchpad.net/~${_name}-developers/+archive/ubuntu/daily/+files/python-${_subname}_${pkgver}-${_ubuntur}.tar.gz")
+sha256sums=('dcbaaf10204696fff7c028415803247df1c8b99d3e1c21950144c14b1b5f8cfb')
+
+build() {
+ cd "python-${_subname}-${pkgver}"
+ sed -i 's|env python|env python2|' "${_subname}.py"
+}
+
+package() {
+ cd "python-${_subname}-${pkgver}"
+ install -d ${pkgdir}/usr/lib/python2.7/site-packages
+ install -m 644 qrtools.py ${pkgdir}/usr/lib/python2.7/site-packages
+}
+
+# vim:set ts=4 sw=2 ft=sh et: