[arch-commits] Commit in nginx-mod-redis/repos (2 files)
Giancarlo Razzolini
grazzolini at gemini.archlinux.org
Sun Nov 28 20:15:57 UTC 2021
Date: Sunday, November 28, 2021 @ 20:15:57
Author: grazzolini
Revision: 1055459
archrelease: copy trunk to community-testing-x86_64
Added:
nginx-mod-redis/repos/community-testing-x86_64/
nginx-mod-redis/repos/community-testing-x86_64/PKGBUILD
(from rev 1055458, nginx-mod-redis/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: nginx-mod-redis/repos/community-testing-x86_64/PKGBUILD (from rev 1055458, nginx-mod-redis/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-11-28 20:15:57 UTC (rev 1055459)
@@ -0,0 +1,38 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-redis
+pkgver=0.3.9
+pkgrel=9
+
+_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