[arch-commits] Commit in nginx-mod-njs/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Mar 9 10:42:33 UTC 2020
Date: Monday, March 9, 2020 @ 10:42:33
Author: mtorromeo
Revision: 592927
archrelease: copy trunk to community-x86_64
Added:
nginx-mod-njs/repos/community-x86_64/PKGBUILD
(from rev 592926, nginx-mod-njs/trunk/PKGBUILD)
Deleted:
nginx-mod-njs/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-09 10:42:19 UTC (rev 592926)
+++ PKGBUILD 2020-03-09 10:42:33 UTC (rev 592927)
@@ -1,39 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=nginx-mod-njs
-pkgver=0.3.7 # https://hg.nginx.org/njs/tags
-pkgrel=1
-
-_modname="${pkgname#nginx-mod-}"
-_nginxver=1.16.1
-
-pkgdesc='nginScript module for nginx'
-arch=('x86_64')
-depends=("nginx=$_nginxver")
-url="https://nginx.org/en/docs/njs_about.html"
-license=('CUSTOM')
-
-source=(
- https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
- njs-$pkgver.tar.gz::https://hg.nginx.org/njs/archive/$pkgver.tar.gz
-)
-validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
-sha256sums=('f11c2a6dd1d3515736f0324857957db2de98be862461b5a542a3ac6188dbe32b'
- 'SKIP'
- 'ece30dfa3e889981646f323d62330f7bbab30af1030639986a7fd9876794d3c6')
-
-build() {
- cd "$srcdir"/nginx-$_nginxver
- ./configure --with-compat --with-stream --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 592926, nginx-mod-njs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-09 10:42:33 UTC (rev 592927)
@@ -0,0 +1,38 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-njs
+pkgver=0.3.9 # https://hg.nginx.org/njs/tags
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+
+pkgdesc='nginScript module for nginx'
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://nginx.org/en/docs/njs_about.html"
+license=('CUSTOM')
+
+source=(
+ njs-$pkgver.tar.gz::https://hg.nginx.org/njs/archive/$pkgver.tar.gz
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
+sha256sums=('83861f2612137dc7c44cc673243a16ba7d44f27e6d6785ac2be33777b5ad670f')
+
+build() {
+ cp -r /usr/src/nginx .
+
+ cd "$srcdir"/nginx
+ ./configure --with-compat --with-stream --add-dynamic-module=../njs-$pkgver/nginx
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd "$srcdir"/nginx/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
More information about the arch-commits
mailing list