diff options
author | Massimiliano Torromeo | 2017-04-06 11:39:49 +0200 |
---|---|---|
committer | Massimiliano Torromeo | 2017-04-06 11:39:49 +0200 |
commit | 1c9ce16a198656b5a5ab74bc3f2fbd38edb55083 (patch) | |
tree | 0e84c538d30173ef1dfd90563c95e6ac01bc1958 | |
download | aur-1c9ce16a198656b5a5ab74bc3f2fbd38edb55083.tar.gz |
Renamed package
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 17 | ||||
-rw-r--r-- | PKGBUILD | 38 |
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5df8cbec762f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Apr 6 09:27:36 UTC 2017 +pkgbase = nginx-mainline-mod-ndk + pkgdesc = Module for mainline nginx that adds generic tools that module developers can use + pkgver = 0.3.0 + pkgrel = 1 + url = https://github.com/simpl/ngx_devel_kit + arch = i686 + arch = x86_64 + license = BSD + depends = nginx-mainline + source = http://nginx.org/download/nginx-1.11.10.tar.gz + source = https://github.com/simpl/ngx_devel_kit/archive/0.3.0/ngx_devel_kit-0.3.0.tar.gz + sha256sums = 778b3cabb07633f754cd9dee32fc8e22582bce22bfa407be76a806abd935533d + sha256sums = 88e05a99a8a7419066f5ae75966fb1efc409bad4522d14986da074554ae61619 + +pkgname = nginx-mainline-mod-ndk + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9b97681014e9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +*.zip +*.jar +*.tar +*.tgz +*.tbz2 +*.gz +*.bz2 +*.xz +*.gem +*.run +*.deb +*.rpm +*.sig +*.log +/src +/pkg +*.kate-swp diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..60be415fb3e2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> + +pkgname=nginx-mainline-mod-ndk +pkgver=0.3.0 +pkgrel=1 + +_modname="ngx_devel_kit" +_nginxver=1.11.10 + +pkgdesc="Module for mainline nginx that adds generic tools that module developers can use" +arch=('i686' 'x86_64') +depends=('nginx-mainline') +url="https://github.com/simpl/ngx_devel_kit" +license=('BSD') + +source=( + http://nginx.org/download/nginx-$_nginxver.tar.gz + https://github.com/simpl/$_modname/archive/$pkgver/$_modname-$pkgver.tar.gz +) + +sha256sums=('778b3cabb07633f754cd9dee32fc8e22582bce22bfa407be76a806abd935533d' + '88e05a99a8a7419066f5ae75966fb1efc409bad4522d14986da074554ae61619') + +build() { + cd "$srcdir"/nginx-$_nginxver + ./configure $(nginx -V 2>&1 | grep 'configure arguments' | sed -r 's@^[^:]+: @@') --add-dynamic-module=../$_modname-$pkgver + make modules +} + +package() { + install -Dm644 "$srcdir"/$_modname-$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 +} |