[arch-commits] Commit in nginx-mod-redis2 (5 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Jun 12 13:46:16 UTC 2017
Date: Monday, June 12, 2017 @ 13:46:15
Author: mtorromeo
Revision: 236441
archrelease: copy trunk to community-i686, community-x86_64
Added:
nginx-mod-redis2/repos/
nginx-mod-redis2/repos/community-i686/
nginx-mod-redis2/repos/community-i686/PKGBUILD
(from rev 236440, nginx-mod-redis2/trunk/PKGBUILD)
nginx-mod-redis2/repos/community-x86_64/
nginx-mod-redis2/repos/community-x86_64/PKGBUILD
(from rev 236440, nginx-mod-redis2/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: nginx-mod-redis2/repos/community-i686/PKGBUILD (from rev 236440, nginx-mod-redis2/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2017-06-12 13:46:15 UTC (rev 236441)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-redis2
+pkgver=0.14
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.0
+
+pkgdesc='Nginx upstream module for the Redis 2.0 protocol'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+url="https://github.com/openresty/redis2-nginx-module"
+license=('BSD')
+
+source=(
+ http://nginx.org/download/nginx-$_nginxver.tar.gz
+ https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz
+)
+
+sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30'
+ 'd830e072fcb4acee8490ba3e38eee6034fd884a954d17ad4efeb397032c58a71')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../$_modname-nginx-module-$pkgver
+ make modules
+}
+
+package() {
+ cd "$srcdir"/nginx-$_nginxver/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
+}
Copied: nginx-mod-redis2/repos/community-x86_64/PKGBUILD (from rev 236440, nginx-mod-redis2/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2017-06-12 13:46:15 UTC (rev 236441)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-redis2
+pkgver=0.14
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.0
+
+pkgdesc='Nginx upstream module for the Redis 2.0 protocol'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+url="https://github.com/openresty/redis2-nginx-module"
+license=('BSD')
+
+source=(
+ http://nginx.org/download/nginx-$_nginxver.tar.gz
+ https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz
+)
+
+sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30'
+ 'd830e072fcb4acee8490ba3e38eee6034fd884a954d17ad4efeb397032c58a71')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../$_modname-nginx-module-$pkgver
+ make modules
+}
+
+package() {
+ cd "$srcdir"/nginx-$_nginxver/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