[arch-commits] Commit in nginx-mod-njs (5 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Jun 12 13:40:40 UTC 2017
Date: Monday, June 12, 2017 @ 13:40:39
Author: mtorromeo
Revision: 236434
archrelease: copy trunk to community-i686, community-x86_64
Added:
nginx-mod-njs/repos/
nginx-mod-njs/repos/community-i686/
nginx-mod-njs/repos/community-i686/PKGBUILD
(from rev 236433, nginx-mod-njs/trunk/PKGBUILD)
nginx-mod-njs/repos/community-x86_64/
nginx-mod-njs/repos/community-x86_64/PKGBUILD
(from rev 236433, nginx-mod-njs/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: nginx-mod-njs/repos/community-i686/PKGBUILD (from rev 236433, nginx-mod-njs/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2017-06-12 13:40:39 UTC (rev 236434)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-njs
+pkgver=0.1.10 # http://hg.nginx.org/njs/tags
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.0
+
+pkgdesc='nginScript module for nginx'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+url="http://nginx.org/en/docs/njs_about.html"
+license=('CUSTOM')
+
+source=(
+ http://nginx.org/download/nginx-$_nginxver.tar.gz
+ njs-$pkgver.tar.gz::http://hg.nginx.org/njs/archive/$pkgver.tar.gz
+)
+
+sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30'
+ '17658ef9efa127f13b4d2541a69ddb4359267c63a11c19beda1d3220d4a2fe0d')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../njs-$pkgver/nginx
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd "$srcdir"/nginx-$_nginxver/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
Copied: nginx-mod-njs/repos/community-x86_64/PKGBUILD (from rev 236433, nginx-mod-njs/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2017-06-12 13:40:39 UTC (rev 236434)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-njs
+pkgver=0.1.10 # http://hg.nginx.org/njs/tags
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.0
+
+pkgdesc='nginScript module for nginx'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+url="http://nginx.org/en/docs/njs_about.html"
+license=('CUSTOM')
+
+source=(
+ http://nginx.org/download/nginx-$_nginxver.tar.gz
+ njs-$pkgver.tar.gz::http://hg.nginx.org/njs/archive/$pkgver.tar.gz
+)
+
+sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30'
+ '17658ef9efa127f13b4d2541a69ddb4359267c63a11c19beda1d3220d4a2fe0d')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../njs-$pkgver/nginx
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd "$srcdir"/nginx-$_nginxver/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
More information about the arch-commits
mailing list