summaryrefslogtreecommitdiff
path: root/community-testing/nginx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/nginx/PKGBUILD')
-rw-r--r--community-testing/nginx/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community-testing/nginx/PKGBUILD b/community-testing/nginx/PKGBUILD
index c9417a8c1..7d95b3070 100644
--- a/community-testing/nginx/PKGBUILD
+++ b/community-testing/nginx/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 72073 2012-06-08 08:31:13Z bpiotrowski $
+# $Id: PKGBUILD 72598 2012-06-17 09:51:17Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Bartłomiej Piotrowski <barthalion@gmal.com>
# Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl>
pkgname=nginx
pkgver=1.2.1
-pkgrel=2
+pkgrel=4
pkgdesc="lightweight HTTP server and IMAP/POP3 proxy server"
arch=('i686' 'x86_64')
depends=('pcre' 'zlib' 'openssl')
@@ -13,6 +13,7 @@ makedepends=('passenger')
optdepends=('passenger')
url="http://nginx.org"
license=('custom')
+install=nginx.install
backup=('etc/nginx/fastcgi.conf'
'etc/nginx/fastcgi_params'
'etc/nginx/koi-win'
@@ -86,7 +87,9 @@ package() {
-e '44s|html|/usr/share/nginx/html|' \
-e '54s|html|/usr/share/nginx/html|' \
-i $pkgdir/etc/nginx/nginx.conf
+ rm $pkgdir/etc/nginx/*.default
+ install -dm1777 $pkgdir/var/tmp
install -d $pkgdir/$_tmpdir
install -d $pkgdir/usr/share/nginx