summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python2-args/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python2-args/PKGBUILD b/pcr/python2-args/PKGBUILD
new file mode 100644
index 000000000..e37d864c7
--- /dev/null
+++ b/pcr/python2-args/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor (Arch) : Jan-Erik Rediger <badboy at archlinux dot us>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=python2-args
+_pkgname=args
+pkgver=0.r37.36c727b
+pkgrel=1
+pkgdesc="Command Arguments for Humans."
+arch=('any')
+url="https://pypi.python.org/pypi/args/"
+license=('BSD')
+depends=('python2' 'git' 'python2-setuptools')
+source=("$pkgname::git+https://github.com/kennethreitz/args")
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ python2 setup.py install --root=$pkgdir
+
+ install -Dm644 LICENSE \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
+# vim:set ts=2 sw=2 sts=2 et: