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

Massimiliano Torromeo mtorromeo at gemini.archlinux.org
Thu Dec 30 14:47:54 UTC 2021


    Date: Thursday, December 30, 2021 @ 14:47:54
  Author: mtorromeo
Revision: 1088420

archrelease: copy trunk to community-x86_64

Added:
  nginx-mod-njs/repos/community-x86_64/PKGBUILD
    (from rev 1088419, 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	2021-12-30 14:45:53 UTC (rev 1088419)
+++ PKGBUILD	2021-12-30 14:47:54 UTC (rev 1088420)
@@ -1,48 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=nginx-mod-njs
-pkgver=0.7.0 # https://hg.nginx.org/njs/tags
-pkgrel=2
-
-_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=('c98406e2da139e209957c411230e5b43269c27e2007e07df44bc3947c0e3cccc')
-
-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 1088419, nginx-mod-njs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-30 14:47:54 UTC (rev 1088420)
@@ -0,0 +1,48 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-njs
+pkgver=0.7.1 # 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=('d4bd3471c78540e5367ab46f83ffe235a04a8667896ef315fea2ba3c12576a2b')
+
+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