[arch-commits] Commit in nginx-mod-vts/repos (2 files)
Jelle van der Waa
jelle at archlinux.org
Sun Apr 25 15:27:32 UTC 2021
Date: Sunday, April 25, 2021 @ 15:27:32
Author: jelle
Revision: 924245
archrelease: copy trunk to community-x86_64
Added:
nginx-mod-vts/repos/community-x86_64/
nginx-mod-vts/repos/community-x86_64/PKGBUILD
(from rev 924244, nginx-mod-vts/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: nginx-mod-vts/repos/community-x86_64/PKGBUILD (from rev 924244, nginx-mod-vts/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-04-25 15:27:32 UTC (rev 924245)
@@ -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=3
+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