PKGBUILDs/aur/uwsgi/PKGBUILD

42 lines
1.2 KiB
Bash
Raw Normal View History

2012-03-12 21:04:39 +00:00
# Maintainer: Angel Velasquez <angvp@archlinux.org>
2011-03-27 16:11:24 +00:00
# Contributor: Vsevolod Balashov <vsevolod@balashov.name>, Kevin Zuber <uKev@knet.eu>
2011-02-16 15:12:59 +00:00
plugrel=1
2012-03-12 21:04:39 +00:00
pkgname=uwsgi
pkgver=1.0.4
2011-02-16 15:12:59 +00:00
pkgrel=1
2011-03-27 16:11:24 +00:00
pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
2012-03-12 21:04:39 +00:00
arch=(i686 x86_64)
url="http://projects.unbit.it/$pkgname"
2011-02-16 15:12:59 +00:00
license=(GPL2)
2012-03-12 21:04:39 +00:00
depends=(python2 libxml2)
conflicts=(python-$pkgname)
makedepends=(gcc python2)
backup=(etc/conf.d/uwsgid etc/uwsgi/uwsgi.ini)
source=(http://projects.unbit.it/downloads/$pkgname-$pkgver.tar.gz
uwsgid.sh
uwsgi.ini
uwsgid.conf)
md5sums=('559c8d1fa8274fb45437c277c0c7f121'
'3dd03dce734b50910b3a5e12da0fc062'
'495afaafac6da631a859ab72c5983c36'
'5db37c7dbfd432623883d125d7127fbf')
2011-02-16 15:12:59 +00:00
build() {
2012-03-12 21:04:39 +00:00
cd $srcdir/$pkgname-$pkgver
2012-03-12 23:43:33 +00:00
CFLAGS='' make -f Makefile.Py27
2012-03-12 21:04:39 +00:00
}
package() {
cd $srcdir/$pkgname-$pkgver
2011-03-27 16:11:24 +00:00
mkdir -p $pkgdir/usr/bin
install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
2012-03-12 21:04:39 +00:00
mkdir -p $pkgdir/etc/rc.d
install -Dm755 $srcdir/uwsgid.sh $pkgdir/etc/rc.d/uwsgid
mkdir -p $pkgdir/etc/conf.d
install -Dm644 $srcdir/uwsgid.conf $pkgdir/etc/conf.d/uwsgid
mkdir -p $pkgdir/etc/uwsgi/apps
install -Dm644 $srcdir/uwsgi.ini $pkgdir/etc/uwsgi/uwsgi.ini
2011-02-16 15:12:59 +00:00
}