[arch-commits] Commit in nginx-mod-cache_purge/repos (2 files)
Giancarlo Razzolini
grazzolini at gemini.archlinux.org
Sun Nov 28 19:28:09 UTC 2021
Date: Sunday, November 28, 2021 @ 19:28:08
Author: grazzolini
Revision: 1055361
archrelease: copy trunk to testing-x86_64
Added:
nginx-mod-cache_purge/repos/testing-x86_64/
nginx-mod-cache_purge/repos/testing-x86_64/PKGBUILD
(from rev 1055359, nginx-mod-cache_purge/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: nginx-mod-cache_purge/repos/testing-x86_64/PKGBUILD (from rev 1055359, nginx-mod-cache_purge/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-11-28 19:28:08 UTC (rev 1055361)
@@ -0,0 +1,47 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-cache_purge
+pkgver=2.5.1
+pkgrel=4
+
+_modname="${pkgname#nginx-mod-}"
+
+pkgdesc='Nginx module with ability to purge content from FastCGI, proxy, SCGI and uWSGI caches'
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://github.com/nginx-modules/ngx_cache_purge"
+license=('CUSTOM')
+
+source=(
+ https://github.com/nginx-modules/ngx_cache_purge/archive/$pkgver/ngx_cache_purge-$pkgver.tar.gz
+)
+
+validpgpkeys=(
+ 'B0F4253373F8F6F510D42178520A9993A1C052F8' # Maxim Dounin <mdounin at mdounin.ru>
+)
+
+sha256sums=('9db968170c301168c4a623bce3fefe8bfd93d676c2006d1a8b2d5eec668cc22c')
+
+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=../ngx_cache_purge-$pkgver
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/ngx_cache_purge-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd build/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
More information about the arch-commits
mailing list