[arch-commits] Commit in nginx-mod-cache_purge/repos (2 files)

Giancarlo Razzolini grazzolini at archlinux.org
Wed Apr 22 18:47:12 UTC 2020


    Date: Wednesday, April 22, 2020 @ 18:47:12
  Author: grazzolini
Revision: 617687

archrelease: copy trunk to community-staging-x86_64

Added:
  nginx-mod-cache_purge/repos/community-staging-x86_64/
  nginx-mod-cache_purge/repos/community-staging-x86_64/PKGBUILD
    (from rev 617686, nginx-mod-cache_purge/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: nginx-mod-cache_purge/repos/community-staging-x86_64/PKGBUILD (from rev 617686, nginx-mod-cache_purge/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-22 18:47:12 UTC (rev 617687)
@@ -0,0 +1,42 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-cache_purge
+pkgver=2.5
+pkgrel=6
+
+_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=('2df8501c7ffcac44d4932939faa686fc3cc56e05cfc05bc411bda3313b05dbdd')
+
+build() {
+  cp -r /usr/src/nginx .
+
+	cd "$srcdir"/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 "$srcdir"/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