mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/nginx to 1.12.2-1
This commit is contained in:
parent
213e53017a
commit
083855b5f3
1 changed files with 27 additions and 18 deletions
|
@ -9,35 +9,41 @@
|
|||
# - build armv7h and aarch64 with -fPIC
|
||||
|
||||
pkgname=nginx
|
||||
pkgver=1.12.1
|
||||
pkgver=1.12.2
|
||||
pkgrel=1
|
||||
pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server'
|
||||
arch=('i686' 'x86_64')
|
||||
arch=(i686 x86_64)
|
||||
url='https://nginx.org'
|
||||
license=('custom')
|
||||
depends=('pcre' 'zlib' 'openssl' 'geoip')
|
||||
backup=('etc/nginx/fastcgi.conf'
|
||||
'etc/nginx/fastcgi_params'
|
||||
'etc/nginx/koi-win'
|
||||
'etc/nginx/koi-utf'
|
||||
'etc/nginx/mime.types'
|
||||
'etc/nginx/nginx.conf'
|
||||
'etc/nginx/scgi_params'
|
||||
'etc/nginx/uwsgi_params'
|
||||
'etc/nginx/win-utf'
|
||||
'etc/logrotate.d/nginx')
|
||||
license=(custom)
|
||||
depends=(pcre zlib openssl geoip)
|
||||
makedepends=(mercurial)
|
||||
checkdepends=(perl perl-gd perl-io-socket-ssl perl-fcgi perl-cache-memcached
|
||||
memcached ffmpeg inetutils)
|
||||
backup=(etc/nginx/fastcgi.conf
|
||||
etc/nginx/fastcgi_params
|
||||
etc/nginx/koi-win
|
||||
etc/nginx/koi-utf
|
||||
etc/nginx/mime.types
|
||||
etc/nginx/nginx.conf
|
||||
etc/nginx/scgi_params
|
||||
etc/nginx/uwsgi_params
|
||||
etc/nginx/win-utf
|
||||
etc/logrotate.d/nginx)
|
||||
install=nginx.install
|
||||
source=($url/download/nginx-$pkgver.tar.gz{,.asc}
|
||||
hg+http://hg.nginx.org/nginx-tests#revision=cbda704b3093
|
||||
service
|
||||
logrotate)
|
||||
validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8') # Maxim Dounin <mdounin@mdounin.ru>
|
||||
md5sums=('a307e74aca95403e5ee00f153807ce58'
|
||||
validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin@mdounin.ru>
|
||||
md5sums=('4d2fc76211435f029271f1cf6d7eeae3'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'ef491e760e7c1ffec9ca25441a150c83'
|
||||
'6a01fb17af86f03707c8ae60f98a2dc2')
|
||||
|
||||
_common_flags=(
|
||||
--with-compat
|
||||
--with-debug
|
||||
--with-file-aio
|
||||
--with-http_addition_module
|
||||
--with-http_auth_request_module
|
||||
|
@ -97,6 +103,11 @@ build() {
|
|||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd nginx-tests
|
||||
TEST_NGINX_BINARY="$srcdir/$pkgname-$pkgver/objs/nginx" prove .
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
@ -131,5 +142,3 @@ package() {
|
|||
"$pkgdir/usr/share/vim/vimfiles/$i/nginx.vim"
|
||||
done
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue