[arch-commits] Commit in nginx-mod-headers-more/repos/community-x86_64 (2 files)
Massimiliano Torromeo
mtorromeo at gemini.archlinux.org
Wed Jul 20 07:39:07 UTC 2022
Date: Wednesday, July 20, 2022 @ 07:39:07
Author: mtorromeo
Revision: 1254775
archrelease: copy trunk to community-x86_64
Added:
nginx-mod-headers-more/repos/community-x86_64/PKGBUILD
(from rev 1254774, nginx-mod-headers-more/trunk/PKGBUILD)
Deleted:
nginx-mod-headers-more/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-20 07:38:59 UTC (rev 1254774)
+++ PKGBUILD 2022-07-20 07:39:07 UTC (rev 1254775)
@@ -1,44 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgname=nginx-mod-headers-more
-pkgver=0.33
-pkgrel=13
-
-_modname="${pkgname#nginx-mod-}"
-
-pkgdesc="Nginx module to set and clear input and output headers"
-arch=('x86_64')
-depends=('nginx')
-makedepends=('nginx-src')
-url="https://github.com/openresty/headers-more-nginx-module"
-license=('BSD')
-
-source=(
- https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz
-)
-sha256sums=('a3dcbab117a9c103bc1ea5200fc00a7b7d2af97ff7fd525f16f8ac2632e30fbf')
-
-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 \
- --add-dynamic-module=../$_modname-nginx-module-$pkgver
- make modules
-}
-
-package() {
- cd build/objs
- for mod in *.so; do
- install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
- done
-
- install -Dm644 "$srcdir"/$_modname-nginx-module-$pkgver/README.markdown \
- "$pkgdir"/usr/share/licenses/$pkgname/README.markdown
-}
Copied: nginx-mod-headers-more/repos/community-x86_64/PKGBUILD (from rev 1254774, nginx-mod-headers-more/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-20 07:39:07 UTC (rev 1254775)
@@ -0,0 +1,44 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-headers-more
+pkgver=0.34
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+
+pkgdesc="Nginx module to set and clear input and output headers"
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://github.com/openresty/headers-more-nginx-module"
+license=('BSD')
+
+source=(
+ https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz
+)
+sha256sums=('0c0d2ced2ce895b3f45eb2b230cd90508ab2a773299f153de14a43e44c1209b3')
+
+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 \
+ --add-dynamic-module=../$_modname-nginx-module-$pkgver
+ make modules
+}
+
+package() {
+ cd build/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+
+ install -Dm644 "$srcdir"/$_modname-nginx-module-$pkgver/README.markdown \
+ "$pkgdir"/usr/share/licenses/$pkgname/README.markdown
+}
More information about the arch-commits
mailing list