updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / uwsgi-hg / PKGBUILD
blob30cb682cea2171a79537e0b6c222aaa8feeae8ae
1 # -*- shell-script -*-
3 # $Id$
5 # Contributor: Vsevolod Balashov <vsevolod@balashov.name>
7 python=python2
8 name=uwsgi
10 pkgname=$name-hg
11 pkgver=610
12 pkgrel=1
13 pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
14 arch=(i686 x86_64)
15 url="http://projects.unbit.it/$name"
16 license=(GPL2)
17 depends=("$python" libxml2)
18 conflicts=(python-$pkgname python-$name)
19 provides=($name)
20 makedepends=(gcc mercurial "$python")
22 _hgroot="http://projects.unbit.it/hg/"
23 _hgrepo=$name
25 build() {
26   cd $srcdir/$name
27   CFLAGS='' make -f Makefile.Py27
28   mkdir -p $pkgdir/usr/bin
29   install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi