summaryrefslogtreecommitdiff
path: root/pcr/python2-stdnum/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-stdnum/PKGBUILD')
-rw-r--r--pcr/python2-stdnum/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/python2-stdnum/PKGBUILD b/pcr/python2-stdnum/PKGBUILD
new file mode 100644
index 000000000..c8453316e
--- /dev/null
+++ b/pcr/python2-stdnum/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer (Arch): Alex Merry <dev@randomguy3.me.uk>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=python2-stdnum
+pkgver=1.1
+pkgrel=1
+pkgdesc='Aims to provide functions to handle, parse and validate standard numbers, e.g. IBAN, EAN, ISBN'
+arch=(any)
+url="http://arthurdejong.org/python-stdnum/"
+license=('LGPL2.1')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("http://arthurdejong.org/python-stdnum/python-stdnum-${pkgver}.tar.gz")
+md5sums=('c799e21f1adc8b0d17715baa871fd598')
+
+package() {
+ cd "$srcdir/python-stdnum-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}