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

Giancarlo Razzolini grazzolini at archlinux.org
Wed Apr 22 19:56:01 UTC 2020


    Date: Wednesday, April 22, 2020 @ 19:56:00
  Author: grazzolini
Revision: 617717

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: nginx-mod-redis/repos/community-staging-x86_64/PKGBUILD (from rev 617716, nginx-mod-redis/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-22 19:56:00 UTC (rev 617717)
@@ -0,0 +1,38 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-redis
+pkgver=0.3.9
+pkgrel=6
+
+_modname="${pkgname#nginx-mod-}"
+
+pkgdesc='Nginx module for redis caching'
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://www.nginx.com/resources/wiki/modules/redis/"
+license=('CUSTOM')
+
+source=(
+	https://people.freebsd.org/~osa/ngx_http_redis-$pkgver.tar.gz
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
+sha256sums=('21f87540f0a44b23ffa5df16fb3d788bc90803b255ef14f9c26e3847a6f26f46')
+
+build() {
+  cp -r /usr/src/nginx .
+
+	cd "$srcdir"/nginx
+	./configure --with-compat --add-dynamic-module=../ngx_http_redis-$pkgver
+	make modules
+}
+
+package() {
+	install -Dm644 "$srcdir"/ngx_http_redis-$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