Date: Monday, June 12, 2017 @ 13:45:49
  Author: mtorromeo
Revision: 236440

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 community-i686/PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: nginx-mod-redis/repos/community-i686/PKGBUILD (from rev 236439, 
nginx-mod-redis/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD                               (rev 0)
+++ repos/community-i686/PKGBUILD       2017-06-12 13:45:49 UTC (rev 236440)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <[email protected]>
+
+pkgname=nginx-mod-redis
+pkgver=0.3.8
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.0
+
+pkgdesc='Nginx module for redis caching'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+url="https://www.nginx.com/resources/wiki/modules/redis/";
+license=('CUSTOM')
+
+source=(
+       http://nginx.org/download/nginx-$_nginxver.tar.gz
+       https://people.freebsd.org/~osa/ngx_http_redis-$pkgver.tar.gz
+)
+
+sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30'
+            '95d0ed7be40da2efc88883d72e52e5e272d2c34463583b7078e8fd6d55004934')
+
+build() {
+       cd "$srcdir"/nginx-$_nginxver
+       ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 
's@^[^:]+: @@') --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-$_nginxver/objs
+       for mod in *.so; do
+               install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+       done
+}

Copied: nginx-mod-redis/repos/community-x86_64/PKGBUILD (from rev 236439, 
nginx-mod-redis/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD                             (rev 0)
+++ repos/community-x86_64/PKGBUILD     2017-06-12 13:45:49 UTC (rev 236440)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <[email protected]>
+
+pkgname=nginx-mod-redis
+pkgver=0.3.8
+pkgrel=1
+
+_modname="${pkgname#nginx-mod-}"
+_nginxver=1.12.0
+
+pkgdesc='Nginx module for redis caching'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver")
+url="https://www.nginx.com/resources/wiki/modules/redis/";
+license=('CUSTOM')
+
+source=(
+       http://nginx.org/download/nginx-$_nginxver.tar.gz
+       https://people.freebsd.org/~osa/ngx_http_redis-$pkgver.tar.gz
+)
+
+sha256sums=('b4222e26fdb620a8d3c3a3a8b955e08b713672e1bc5198d1e4f462308a795b30'
+            '95d0ed7be40da2efc88883d72e52e5e272d2c34463583b7078e8fd6d55004934')
+
+build() {
+       cd "$srcdir"/nginx-$_nginxver
+       ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 
's@^[^:]+: @@') --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-$_nginxver/objs
+       for mod in *.so; do
+               install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+       done
+}

Reply via email to