Compare commits

...

2 commits

2 changed files with 15 additions and 11 deletions

View file

@ -3,13 +3,13 @@
pkgname=nginx-mainline-mod-brotli pkgname=nginx-mainline-mod-brotli
pkgver=1.0.0rc pkgver=1.0.0rc
pkgrel=14 pkgrel=15
pkgdesc="Brotli compression filter module" pkgdesc='Brotli compression filter module'
arch=('x86_64') arch=('x86_64')
url="https://github.com/google/ngx_brotli" url='https://github.com/google/ngx_brotli'
_modname="${url##*/}" _modname="${url##*/}"
license=('BSD') license=('BSD')
depends=('nginx-mainline=1.21.6' 'brotli') depends=('nginx-mainline=1.23.1' 'brotli')
makedepends=('nginx-mainline-src') makedepends=('nginx-mainline-src')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('450d0ea693bd98d4a1b615f2cdcaad41ccd28266f6d80beec7fe77fe750ab8c5d1bb55aabe15161b9b6d819d2b4d99a7774f2706f2f6fd084b52a7c7dddbc00c') b2sums=('450d0ea693bd98d4a1b615f2cdcaad41ccd28266f6d80beec7fe77fe750ab8c5d1bb55aabe15161b9b6d819d2b4d99a7774f2706f2f6fd084b52a7c7dddbc00c')

View file

@ -2,17 +2,17 @@
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nginx-mainline-mod-headers-more pkgname=nginx-mainline-mod-headers-more
pkgver=0.33 pkgver=0.34
pkgrel=42 pkgrel=1
pkgdesc="Set and clear input and output headers" pkgdesc='Set and clear input and output headers'
arch=('x86_64') arch=('x86_64')
url="https://github.com/openresty/headers-more-nginx-module" url='https://github.com/openresty/headers-more-nginx-module'
_modname="${url##*/}" _modname="${url##*/}"
license=('BSD') license=('BSD')
depends=('nginx-mainline=1.21.6') depends=('nginx-mainline=1.23.1')
makedepends=('nginx-mainline-src') makedepends=('nginx-mainline-src')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('fe3097a7700ce5da087058f7bb44c95164b75137031187400473f6833bf0e33e5c4920807225a6ff94174fe7dbd6186cca176a33a629ca0911faab6804bdd12a') b2sums=('48badf603b93601b11c837057760f768ef2579062786bb366795617635747b654cecafa3a230eec1a3e442ab768fb068867ceb93385b14b6452b621764acfd3f')
prepare() { prepare() {
mkdir -p build mkdir -p build
@ -21,7 +21,11 @@ prepare() {
build() { build() {
cd build cd build
/usr/src/nginx/configure --with-compat --add-dynamic-module="$srcdir/$_modname-$pkgver"
/usr/src/nginx/configure \
--with-compat \
--add-dynamic-module="$srcdir/$_modname-$pkgver"
make modules make modules
} }