[arch-commits] Commit in nginx-mod-memc/repos (2 files)

Giancarlo Razzolini grazzolini at gemini.archlinux.org
Sun Nov 28 19:47:07 UTC 2021


    Date: Sunday, November 28, 2021 @ 19:47:07
  Author: grazzolini
Revision: 1055399

archrelease: copy trunk to community-testing-x86_64

Added:
  nginx-mod-memc/repos/community-testing-x86_64/
  nginx-mod-memc/repos/community-testing-x86_64/PKGBUILD
    (from rev 1055398, nginx-mod-memc/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: nginx-mod-memc/repos/community-testing-x86_64/PKGBUILD (from rev 1055398, nginx-mod-memc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-11-28 19:47:07 UTC (rev 1055399)
@@ -0,0 +1,40 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-memc
+pkgver=0.19
+pkgrel=9
+
+_modname="${pkgname#nginx-mod-}"
+
+pkgdesc='Extended version of the standard memcached module for nginx'
+arch=('x86_64')
+depends=('nginx')
+makedepends=('nginx-src')
+url="https://github.com/openresty/memc-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=('8c2bdbe875e4f5225d0778bfb09a2668f9281d7de6218c7b462a7ba2cee06fe8')
+
+prepare() {
+  cp -r /usr/src/nginx .
+}
+
+build() {
+	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