[arch-commits] Commit in nginx-mod-njs/repos/community-x86_64 (PKGBUILD PKGBUILD)

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Wed Apr 13 19:45:05 UTC 2022


    Date: Wednesday, April 13, 2022 @ 19:45:05
  Author: mtorromeo
Revision: 1186088

archrelease: copy trunk to community-x86_64

Added:
  nginx-mod-njs/repos/community-x86_64/PKGBUILD
    (from rev 1186087, nginx-mod-njs/trunk/PKGBUILD)
Deleted:
  nginx-mod-njs/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-13 19:44:57 UTC (rev 1186087)
+++ PKGBUILD	2022-04-13 19:45:05 UTC (rev 1186088)
@@ -1,48 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=nginx-mod-njs
-pkgver=0.7.2 # 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=('79f9e1b41d425051dc3ddf65d3f4f990f9b73f1af727ac6282917031272343e8')
-
-prepare() {
-  mkdir -p build
-  cd build
-  ln -sf /usr/src/nginx/auto
-  ln -sf /usr/src/nginx/src
-}
-
-build() {
-  cd build
-  /usr/src/nginx/configure \
-    --with-compat \
-    --with-stream \
-    --with-http_ssl_module \
-    --with-http_v2_module \
-    --add-dynamic-module=../njs-$pkgver/nginx
-  make modules
-}
-
-package() {
-  install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \
-              "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  cd build/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 1186087, nginx-mod-njs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-13 19:45:05 UTC (rev 1186088)
@@ -0,0 +1,48 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-njs
+pkgver=0.7.3 # 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=('5527b08b769fd160e4efb725faab633c46b8015d66530028f4d5049ae49ba12b')
+
+prepare() {
+  mkdir -p build
+  cd build
+  ln -sf /usr/src/nginx/auto
+  ln -sf /usr/src/nginx/src
+}
+
+build() {
+  cd build
+  /usr/src/nginx/configure \
+    --with-compat \
+    --with-stream \
+    --with-http_ssl_module \
+    --with-http_v2_module \
+    --add-dynamic-module=../njs-$pkgver/nginx
+  make modules
+}
+
+package() {
+  install -Dm644 "$srcdir"/njs-$pkgver/LICENSE \
+              "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  cd build/objs
+  for mod in *.so; do
+      install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+  done
+}



More information about the arch-commits mailing list