[arch-commits] Commit in nginx-mod-cache_purge (3 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Wed Oct 31 10:33:54 UTC 2018


    Date: Wednesday, October 31, 2018 @ 10:33:54
  Author: mtorromeo
Revision: 399966

archrelease: copy trunk to community-x86_64

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

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

Copied: nginx-mod-cache_purge/repos/community-x86_64/PKGBUILD (from rev 399965, nginx-mod-cache_purge/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2018-10-31 10:33:54 UTC (rev 399966)
@@ -0,0 +1,43 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-cache_purge
+pkgver=2.5
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.14.0
+
+pkgdesc='Nginx module with ability to purge content from FastCGI, proxy, SCGI and uWSGI caches'
+arch=('x86_64')
+depends=('nginx')
+url="https://github.com/nginx-modules/ngx_cache_purge"
+license=('CUSTOM')
+
+source=(
+	https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
+	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=('5d15becbf69aba1fe33f8d416d97edd95ea8919ea9ac519eff9bafebb6022cb5'
+            'SKIP'
+            '2df8501c7ffcac44d4932939faa686fc3cc56e05cfc05bc411bda3313b05dbdd')
+
+build() {
+	cd "$srcdir"/nginx-$_nginxver
+	./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-$_nginxver/objs
+	for mod in *.so; do
+		install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+	done
+}



More information about the arch-commits mailing list