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

Giancarlo Razzolini grazzolini at archlinux.org
Thu May 9 15:14:26 UTC 2019


    Date: Thursday, May 9, 2019 @ 15:14:25
  Author: grazzolini
Revision: 464623

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 464621, nginx-mod-cache_purge/trunk/PKGBUILD)

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

Copied: nginx-mod-cache_purge/repos/community-staging-x86_64/PKGBUILD (from rev 464621, nginx-mod-cache_purge/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-09 15:14:25 UTC (rev 464623)
@@ -0,0 +1,43 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-cache_purge
+pkgver=2.5
+pkgrel=4
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.16.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=('4fd376bad78797e7f18094a00f0f1088259326436b537eb5af69b01be2ca1345'
+            '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