1 # Maintainer: Angel Velasquez <angvp@archlinux.org>
2 # Contributor: Vsevolod Balashov <vsevolod@balashov.name>, Kevin Zuber <uKev@knet.eu>
6 pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
8 url="http://projects.unbit.it/$pkgname"
10 depends=(python2 libxml2)
11 conflicts=(python-$pkgname)
12 makedepends=(gcc python2)
13 backup=(etc/conf.d/uwsgid etc/uwsgi/uwsgi.ini)
14 source=(http://projects.unbit.it/downloads/$pkgname-$pkgver.tar.gz
18 md5sums=('6f0a92bc148c1e359638e1ea45199d3b'
19 '3dd03dce734b50910b3a5e12da0fc062'
20 '495afaafac6da631a859ab72c5983c36'
21 '5db37c7dbfd432623883d125d7127fbf')
24 cd $srcdir/$pkgname-$pkgver
25 CFLAGS='' make -f Makefile.Py27
29 cd $srcdir/$pkgname-$pkgver
30 mkdir -p $pkgdir/usr/bin
31 install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
32 mkdir -p $pkgdir/etc/rc.d
33 install -Dm755 $srcdir/uwsgid.sh $pkgdir/etc/rc.d/uwsgid
34 mkdir -p $pkgdir/etc/conf.d
35 install -Dm644 $srcdir/uwsgid.conf $pkgdir/etc/conf.d/uwsgid
36 mkdir -p $pkgdir/etc/uwsgi/apps
37 install -Dm644 $srcdir/uwsgi.ini $pkgdir/etc/uwsgi/uwsgi.ini