[arch-commits] Commit in nginx-mod-ndk-set-misc/repos (2 files)
Giancarlo Razzolini
grazzolini at archlinux.org
Thu May 9 15:19:07 UTC 2019
Date: Thursday, May 9, 2019 @ 15:19:06
Author: grazzolini
Revision: 464642
archrelease: copy trunk to community-staging-x86_64
Added:
nginx-mod-ndk-set-misc/repos/community-staging-x86_64/
nginx-mod-ndk-set-misc/repos/community-staging-x86_64/PKGBUILD
(from rev 464641, nginx-mod-ndk-set-misc/trunk/PKGBUILD)
----------+
PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
Copied: nginx-mod-ndk-set-misc/repos/community-staging-x86_64/PKGBUILD (from rev 464641, nginx-mod-ndk-set-misc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-09 15:19:06 UTC (rev 464642)
@@ -0,0 +1,55 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+_nginxver=1.16.0
+_setmiscver=0.32
+_ndkver=0.3.0
+
+pkgbase=nginx-mod-ndk-set-misc
+pkgname=(nginx-mod-ndk nginx-mod-set-misc)
+pkgver=$_setmiscver+$_ndkver
+pkgrel=4
+
+arch=('x86_64')
+depends=("nginx=$_nginxver")
+url="https://github.com/openresty/set-misc-nginx-module"
+license=('BSD')
+
+source=(
+ https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
+ https://github.com/openresty/set-misc-nginx-module/archive/v$_setmiscver/set-misc-$_setmiscver.tar.gz
+ https://github.com/simpl/ngx_devel_kit/archive/v$_ndkver/ngx_devel_kit-$_ndkver.tar.gz
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
+sha256sums=('4fd376bad78797e7f18094a00f0f1088259326436b537eb5af69b01be2ca1345'
+ 'SKIP'
+ 'f1ad2459c4ee6a61771aa84f77871f4bfe42943a4aa4c30c62ba3f981f52c201'
+ '88e05a99a8a7419066f5ae75966fb1efc409bad4522d14986da074554ae61619')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure --with-compat \
+ --add-dynamic-module=../ngx_devel_kit-$_ndkver \
+ --add-dynamic-module=../set-misc-nginx-module-$_setmiscver
+ make modules
+}
+
+package_nginx-mod-ndk() {
+ pkgdesc="Nginx module that adds additional generic tools that module developers can use in their own modules"
+
+ cd "$srcdir"/nginx-$_nginxver/objs
+ install -Dm755 ndk_http_module.so "$pkgdir"/usr/lib/nginx/modules/ndk_http_module.so
+
+ cd "$srcdir"/ngx_devel_kit-$_ndkver
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_nginx-mod-set-misc() {
+ pkgdesc="Nginx module that adds various set_xxx directives"
+ depends=("nginx=$_nginxver" 'nginx-mod-ndk')
+
+ cd "$srcdir"/nginx-$_nginxver/objs
+ install -Dm755 ngx_http_set_misc_module.so "$pkgdir"/usr/lib/nginx/modules/ngx_http_set_misc_module.so
+
+ install -Dm644 "$srcdir"/set-misc-nginx-module-$_setmiscver/README.markdown \
+ "$pkgdir"/usr/share/licenses/$pkgname/README.markdown
+}
More information about the arch-commits
mailing list