summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0611ee3fa6e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Christian Mauderer <oss@c-mauderer.de>
+pkgname=python2-commando-git
+pkgver=r30.78dc9f2
+pkgrel=1
+pkgdesc="A simple wrapper for argparse that allows commands and arguments to be defined declaratively using decorators."
+arch=('any')
+url="https://github.com/hyde/commando"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-distribute' 'git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+options=(!emptydirs)
+source=("${pkgname%-git}::git+https://github.com/hyde/commando")
+md5sums=('SKIP')
+
+_gitroot=https://github.com/hyde/commando
+_gitname=python2-commando
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: