[arch-commits] Commit in nginx-mod-headers-more/repos (2 files)

Giancarlo Razzolini grazzolini at archlinux.org
Thu May 9 15:16:36 UTC 2019


    Date: Thursday, May 9, 2019 @ 15:16:36
  Author: grazzolini
Revision: 464631

archrelease: copy trunk to community-staging-x86_64

Added:
  nginx-mod-headers-more/repos/community-staging-x86_64/
  nginx-mod-headers-more/repos/community-staging-x86_64/PKGBUILD
    (from rev 464630, nginx-mod-headers-more/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: nginx-mod-headers-more/repos/community-staging-x86_64/PKGBUILD (from rev 464630, nginx-mod-headers-more/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-09 15:16:36 UTC (rev 464631)
@@ -0,0 +1,39 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-headers-more
+pkgver=0.33
+pkgrel=5
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.16.0
+
+pkgdesc="Nginx module to set and clear input and output headers"
+arch=('x86_64')
+depends=("nginx=$_nginxver")
+url="https://github.com/openresty/headers-more-nginx-module"
+license=('BSD')
+
+source=(
+	https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
+	https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
+sha256sums=('4fd376bad78797e7f18094a00f0f1088259326436b537eb5af69b01be2ca1345'
+            'SKIP'
+            'a3dcbab117a9c103bc1ea5200fc00a7b7d2af97ff7fd525f16f8ac2632e30fbf')
+
+build() {
+	cd "$srcdir"/nginx-$_nginxver
+	./configure --with-compat --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
+}


More information about the arch-commits mailing list