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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Jul 11 17:57:42 UTC 2017


    Date: Tuesday, July 11, 2017 @ 17:57:41
  Author: bpiotrowski
Revision: 244351

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  nginx-mod-headers-more/repos/community-testing-i686/
  nginx-mod-headers-more/repos/community-testing-i686/PKGBUILD
    (from rev 244350, nginx-mod-headers-more/trunk/PKGBUILD)
  nginx-mod-headers-more/repos/community-testing-x86_64/
  nginx-mod-headers-more/repos/community-testing-x86_64/PKGBUILD
    (from rev 244350, nginx-mod-headers-more/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   39 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   39 ++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: nginx-mod-headers-more/repos/community-testing-i686/PKGBUILD (from rev 244350, nginx-mod-headers-more/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-07-11 17:57:41 UTC (rev 244351)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-headers-more
+pkgver=0.32
+pkgrel=2
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.1
+
+pkgdesc="Nginx module to set and clear input and output headers"
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+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=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+            'c6d9dab8ea1fc997031007e2e8f47cced01417e203cd88d53a9fe9f6ae138720')
+
+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
+}

Copied: nginx-mod-headers-more/repos/community-testing-x86_64/PKGBUILD (from rev 244350, nginx-mod-headers-more/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-07-11 17:57:41 UTC (rev 244351)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-headers-more
+pkgver=0.32
+pkgrel=2
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.1
+
+pkgdesc="Nginx module to set and clear input and output headers"
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+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=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+            'c6d9dab8ea1fc997031007e2e8f47cced01417e203cd88d53a9fe9f6ae138720')
+
+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