merge arch linux pkgbuild from Andrey Vlasovskikh
authorAlexander Solovyov <piranha@piranha.org.ua>
Mon, 01 Nov 2010 17:44:08 +0100
changeset 127 67a0ead9bb59
parent 123 4d73a8af4bbf (current diff)
parent 126 7a5c5746d4f0 (diff)
child 128 cd818293ed93
merge arch linux pkgbuild from Andrey Vlasovskikh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/PKGBUILD	Mon Nov 01 17:44:08 2010 +0100
@@ -0,0 +1,18 @@
+# Maintainer: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
+
+pkgname=python-opster
+pkgver=0.9.11
+pkgrel=3
+pkgdesc="Python command line parsing speedster"
+arch=(any)
+url="http://hg.piranha.org.ua/opster/"
+license=('BSD')
+depends=('python2')
+source=("http://pypi.python.org/packages/source/o/opster/opster-$pkgver.tar.gz")
+md5sums=('24b2349fa3930eb17e28e6fc7cf78575')
+
+build() {
+    cd "$srcdir/opster-$pkgver"
+    python2 setup.py build || return 1
+    python2 setup.py install --root=$pkgdir --optimize=1 || return 1
+}