PKGBUILDs/aur/uwsgi/PKGBUILD

39 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>
2012-03-12 21:04:39 +00:00
pkgname=uwsgi
2012-09-17 23:42:59 +00:00
pkgver=1.2.6
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)
2012-09-17 23:42:59 +00:00
md5sums=('e704bf8e315129a16ea233342580e5d1'
2012-03-12 21:04:39 +00:00
'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-04-15 17:12:37 +00:00
python2 uwsgiconfig.py --build
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
}