[arch-commits] Commit in nginx-mod-redis2/repos (2 files)
Giancarlo Razzolini
grazzolini at archlinux.org
Wed Apr 22 19:58:33 UTC 2020
Date: Wednesday, April 22, 2020 @ 19:58:33
Author: grazzolini
Revision: 617719
archrelease: copy trunk to community-staging-x86_64
Added:
nginx-mod-redis2/repos/community-staging-x86_64/
nginx-mod-redis2/repos/community-staging-x86_64/PKGBUILD
(from rev 617718, nginx-mod-redis2/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: nginx-mod-redis2/repos/community-staging-x86_64/PKGBUILD (from rev 617718, nginx-mod-redis2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-22 19:58:33 UTC (rev 617719)
@@ -0,0 +1,38 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-redis2
+pkgver=0.15
+pkgrel=6
+
+_modname="${pkgname#nginx-mod-}"
+
+pkgdesc='Nginx upstream module for the Redis 2.0 protocol'
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://github.com/openresty/redis2-nginx-module"
+license=('BSD')
+
+source=(
+ https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin at mdounin.ru>
+sha256sums=('d255571bcfb9939b78099df39cb4d42f174d789aec8c8e5e47b93942b0299438')
+
+build() {
+ cp -r /usr/src/nginx .
+
+ cd "$srcdir"/nginx
+ ./configure --with-compat --add-dynamic-module=../$_modname-nginx-module-$pkgver
+ make modules
+}
+
+package() {
+ cd "$srcdir"/nginx/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+
+ install -Dm644 "$srcdir"/$_modname-nginx-module-$pkgver/README.markdown \
+ "$pkgdir"/usr/share/licenses/$pkgname/README.markdown
+}
More information about the arch-commits
mailing list