summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Devaux2015-07-15 10:19:48 +0200
committerFabien Devaux2015-07-15 10:19:48 +0200
commitdad9b7138595359bc8902cbcd482acd282879e8d (patch)
tree5307972c970b8a3362a2da59458032d0a382d9a6
downloadaur-dad9b7138595359bc8902cbcd482acd282879e8d.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..40ee7e61ea6f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-worm
+ pkgdesc = Animating worms for progress bars
+ pkgver = 0.3
+ pkgrel = 1
+ url = http://mechanicalcat.net/richard/
+ arch = any
+ license = PUBLIC
+ makedepends = python
+ makedepends = python-distribute
+ makedepends = sed
+ depends = python
+ source = http://pypi.python.org/packages/source/w/worm/worm-0.3.tar.gz
+ md5sums = b8f250f3edea5ee842a08c88acadaef8
+
+pkgname = python-worm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..5239009e5684
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Fabien Devaux <fdev31 at gmail dot com>
+
+_py=python
+_n=worm
+
+pkgname=$_py-$_n
+pkgver=0.3
+pkgrel=1
+pkgdesc="Animating worms for progress bars"
+depends=($_py)
+makedepends=($_py "$_py-distribute" "sed")
+arch=('any')
+source=(http://pypi.python.org/packages/source/${_n:0:1}/$_n/$_n-$pkgver.tar.gz)
+md5sums=(b8f250f3edea5ee842a08c88acadaef8)
+url="http://mechanicalcat.net/richard/"
+license="PUBLIC"
+
+build() {
+ cd $srcdir/$_n-$pkgver
+ sed -i 's/data_files/#data_files/' setup.py
+ $_py setup.py build || return 1
+ $_py setup.py install --root=$pkgdir
+}
+