diff options
author | root <root@rshg047.dnsready.net> | 2011-05-11 22:34:26 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-11 22:34:26 +0000 |
commit | 8867b1d4d0601b21618d44d015460739590ca01d (patch) | |
tree | e67076b8591d23942739891c69b2f5459ff9e909 /community/nginx/PKGBUILD | |
parent | 01b47af6474ac094ec199c7d75208874f8842d87 (diff) |
Wed May 11 22:34:25 UTC 2011
Diffstat (limited to 'community/nginx/PKGBUILD')
-rw-r--r-- | community/nginx/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/community/nginx/PKGBUILD b/community/nginx/PKGBUILD index a92c5cc21..0139b8242 100644 --- a/community/nginx/PKGBUILD +++ b/community/nginx/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 46097 2011-05-03 14:39:45Z spupykin $ +# $Id: PKGBUILD 46704 2011-05-10 20:38:51Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> @@ -11,7 +11,7 @@ _user=http _group=http pkgname=nginx -pkgver=1.0.1 +pkgver=1.0.2 pkgrel=1 pkgdesc="lightweight HTTP server and IMAP/POP3 proxy server" arch=('i686' 'x86_64') @@ -27,14 +27,11 @@ backup=("etc/nginx/conf/nginx.conf" "etc/logrotate.d/nginx") source=(http://sysoev.ru/nginx/nginx-${pkgver}.tar.gz nginx) -md5sums=('4d4e70e3c6c907cb101c97e9cf9399c8' +md5sums=('8a528ccaab3ddba84e72443fa40b19e7' '837b010afcbdfe82d8e65ef00c4e14ba') build() { - local _src_dir=$srcdir/nginx-${pkgver} - local _build_dir=$_src_dir/objs - - cd $_src_dir + cd $srcdir/nginx-${pkgver} ./configure \ --prefix=${_server_root} \ --sbin-path=/usr/sbin/nginx \ @@ -53,6 +50,10 @@ build() { --with-ipv6 make +} + +package() { + cd $srcdir/nginx-${pkgver} make DESTDIR=$pkgdir install install -d $pkgdir/etc/logrotate.d/ |