updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / python26-greenlet / PKGBUILD
blob36d939574476d70738b75422b1e38314cf623577
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=python26-greenlet
4 _pkgname=greenlet
5 pkgver=0.3.1
6 pkgrel=2
7 arch=('i686' 'x86_64')
8 pkgdesc="Python coroutine library"
9 license=('MIT')
10 url="http://pypi.python.org/pypi/greenlet"
11 depends=('python26')
12 source=("http://pypi.python.org/packages/source/g/$_pkgname/$_pkgname-$pkgver.tar.gz"
13         'patch')
14 md5sums=('8d75d7f3f659e915e286e1b0fa0e1c4d'
15          'cdb93be3ec24b9ae4b18f2c60ec564db')
17 build() {
18  cd "$startdir/src/$_pkgname-$pkgver"
19  patch -p1 < "$srcdir/patch"
20  python26 setup.py build
23 package() {
24  cd "$startdir/src/$_pkgname-$pkgver"
25  python26 setup.py install --root="$pkgdir"