summaryrefslogtreecommitdiff
path: root/~xihh/python2-brownie/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~xihh/python2-brownie/PKGBUILD')
-rw-r--r--~xihh/python2-brownie/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/~xihh/python2-brownie/PKGBUILD b/~xihh/python2-brownie/PKGBUILD
new file mode 100644
index 000000000..85f77baf8
--- /dev/null
+++ b/~xihh/python2-brownie/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=python2-brownie
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="Python Utility Library from Pocoo."
+url="http://packages.python.org/Brownie"
+depends=('python2')
+makedepends=('python2-distribute')
+license=('custom:BSD')
+arch=('i686' 'x86_64' 'mips64el')
+source=("http://pypi.python.org/packages/source/B/Brownie/Brownie-$pkgver.tar.gz")
+md5sums=('c79089d747777f4754656b41998e5685')
+
+build() {
+ cd $srcdir/Brownie-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $srcdir/Brownie-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -m644 -D LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+}