[arch-commits] Commit in nginx-mod-vts/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed Feb 24 21:04:41 UTC 2021


    Date: Wednesday, February 24, 2021 @ 21:04:40
  Author: jelle
Revision: 408764

archrelease: copy trunk to extra-x86_64

Added:
  nginx-mod-vts/repos/extra-x86_64/
  nginx-mod-vts/repos/extra-x86_64/PKGBUILD
    (from rev 408763, nginx-mod-vts/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: nginx-mod-vts/repos/extra-x86_64/PKGBUILD (from rev 408763, nginx-mod-vts/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-02-24 21:04:40 UTC (rev 408764)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Giovanni Harting <539 at idlegandalf.com>
+
+_modname="nginx-module-vts"
+pkgname=nginx-mod-vts
+pkgver=0.1.18
+pkgrel=1
+pkgdesc="Nginx virtual host traffic status module"
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://github.com/vozlt/nginx-module-vts"
+license=('BSD')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vozlt/$_modname/archive/v$pkgver.tar.gz)
+sha256sums=('17ea41d4083f6d1ab1ab83dad9160eeca66867abe16c5a0421f85a39d7c84b65')
+
+build() {
+    cp -r /usr/src/nginx .
+
+    cd nginx
+    ./configure --with-compat --add-dynamic-module=../$_modname-$pkgver
+    make modules
+}
+
+package() {
+    install -Dm0644 "nginx-module-vts-$pkgver"/LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+
+    cd 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