[arch-commits] Commit in nginx-mod-redis2/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Jul 11 17:59:33 UTC 2017
Date: Tuesday, July 11, 2017 @ 17:59:30
Author: bpiotrowski
Revision: 244367
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
nginx-mod-redis2/repos/community-testing-i686/
nginx-mod-redis2/repos/community-testing-i686/PKGBUILD
(from rev 244366, nginx-mod-redis2/trunk/PKGBUILD)
nginx-mod-redis2/repos/community-testing-x86_64/
nginx-mod-redis2/repos/community-testing-x86_64/PKGBUILD
(from rev 244366, nginx-mod-redis2/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: nginx-mod-redis2/repos/community-testing-i686/PKGBUILD (from rev 244366, nginx-mod-redis2/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-07-11 17:59:30 UTC (rev 244367)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-redis2
+pkgver=0.14
+pkgrel=2
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.1
+
+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=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+ 'd830e072fcb4acee8490ba3e38eee6034fd884a954d17ad4efeb397032c58a71')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure --with-compat --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-testing-x86_64/PKGBUILD (from rev 244366, nginx-mod-redis2/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-07-11 17:59:30 UTC (rev 244367)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-redis2
+pkgver=0.14
+pkgrel=2
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.1
+
+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=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+ 'd830e072fcb4acee8490ba3e38eee6034fd884a954d17ad4efeb397032c58a71')
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure --with-compat --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