1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
2 # Contributor: Giovanni Harting <539@idlegandalf.com>
4 _modname="nginx-module-vts"
8 pkgdesc="Nginx virtual host traffic status module"
11 makedepends=('nginx-src')
12 url="https://github.com/vozlt/nginx-module-vts"
14 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vozlt/$_modname/archive/v$pkgver.tar.gz)
15 sha256sums=('1a63d78d3ae4df18b3a57a616eeee006cdc0bd71aa7ea2947046004b123704f4')
18 cp -r /usr/src/nginx .
21 ./configure --with-compat --add-dynamic-module=../$_modname-$pkgver
26 install -Dm0644 "nginx-module-vts-$pkgver"/LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
30 install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod