summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python2-clint/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/python2-clint/PKGBUILD b/pcr/python2-clint/PKGBUILD
new file mode 100644
index 000000000..8b69cc2be
--- /dev/null
+++ b/pcr/python2-clint/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor (Arch) : (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
+# Contributor (Arch) : Alexander <rodseth@gmail.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackes.camp>
+
+pkgname=python2-clint
+pkgver=0.3.7
+pkgrel=1
+pkgdesc="Module for developing commandline applications"
+arch=('any')
+url="http://pypi.python.org/pypi/clint/"
+license=('ISC')
+depends=('python2')
+conflicts=('python2-clint-git')
+source=("http://pypi.python.org/packages/source/c/clint/clint-$pkgver.tar.gz")
+
+package() {
+ cd "$srcdir/clint-$pkgver"
+
+ python2 setup.py install --install-data="/usr/share/doc/$pkgname" \
+ --root="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+