Date: Monday, June 12, 2017 @ 09:59:55 Author: mtorromeo Revision: 236367
Add nginx-mod-headers-more Added: nginx-mod-headers-more/ nginx-mod-headers-more/trunk/ nginx-mod-headers-more/trunk/PKGBUILD ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Added: nginx-mod-headers-more/trunk/PKGBUILD =================================================================== --- nginx-mod-headers-more/trunk/PKGBUILD (rev 0) +++ nginx-mod-headers-more/trunk/PKGBUILD 2017-06-12 09:59:55 UTC (rev 236367) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> + +pkgname=nginx-mod-headers-more +pkgver=0.32 +pkgrel=1 + +_modname="${pkgname#nginx-mod-}" +_nginxver=1.12.0 + +pkgdesc="Nginx module to set and clear input and output headers" +arch=('i686' 'x86_64') +depends=('nginx') +url="https://github.com/openresty/headers-more-nginx-module" +license=('BSD') + +source=( + http://nginx.org/download/nginx-$_nginxver.tar.gz + https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz +) + +sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30' + 'c6d9dab8ea1fc997031007e2e8f47cced01417e203cd88d53a9fe9f6ae138720') + +build() { + cd "$srcdir"/nginx-$_nginxver + ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../$_modname-nginx-module-$pkgver + make modules +} + +package() { + cd "$srcdir"/nginx-$_nginxver/objs + for mod in *.so; do + install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod + done + + install -Dm644 "$srcdir"/$_modname-nginx-module-$pkgver/README.markdown \ + "$pkgdir"/usr/share/licenses/$pkgname/README.markdown +} Property changes on: nginx-mod-headers-more/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property