diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-06 09:44:15 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-06 09:44:15 +0200 |
commit | 59eeb7b84b0032a64c96943a38e3594f87177395 (patch) | |
tree | 8ec3c2b6037d037b4ef8d4f964388ecc17e12e5e | |
parent | 6b4f39cf9ee7722b0ae5b353f5663c29aa7e6e62 (diff) | |
download | abslibre-59eeb7b84b0032a64c96943a38e3594f87177395.tar.gz abslibre-59eeb7b84b0032a64c96943a38e3594f87177395.tar.bz2 abslibre-59eeb7b84b0032a64c96943a38e3594f87177395.zip |
python2-args
-rw-r--r-- | pcr/python2-args/PKGBUILD | 29 |
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: |