From 59eeb7b84b0032a64c96943a38e3594f87177395 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Fri, 6 Jun 2014 09:44:15 +0200 Subject: python2-args --- pcr/python2-args/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcr/python2-args/PKGBUILD (limited to 'pcr/python2-args') 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 +# Maintainer (Parabola) : Aurélien DESBRIÈRES + +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: -- cgit v1.2.3-54-g00ecf