summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuaNerin2019-12-30 00:29:43 +0900
committerRyuaNerin2019-12-30 00:33:06 +0900
commitb2134a06b6a17446694e7582b05a8b4bbb74a4b4 (patch)
treecd6ff72aa7e63f5b0a4263387752d85ed7de3e03
downloadaur-b2134a06b6a17446694e7582b05a8b4bbb74a4b4.tar.gz
ngx_fancyindex 0.4.3 + nginx-mainline 1.17.7
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD46
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3a580ad05c4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = nginx-mainline-mod-fancyindex-git
+ pkgdesc = Fancy indexes module for the Nginx web server
+ pkgver = 0.4.3
+ pkgrel = 1
+ url = https://github.com/aperezdc/ngx-fancyindex
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = CUSTOM
+ makedepends = git
+ depends = nginx-mainline=1.17.7
+ provides = nginx-mainline-mod-fancyindex
+ conflicts = nginx-mainline-mod-fancyindex
+ source = https://nginx.org/download/nginx-1.17.7.tar.gz
+ source = https://nginx.org/download/nginx-1.17.7.tar.gz.asc
+ source = ngx_fancyindex::git+https://github.com/aperezdc/ngx-fancyindex.git
+ validpgpkeys = B0F4253373F8F6F510D42178520A9993A1C052F8
+ sha256sums = b62756842807e5693b794e5d0ae289bd8ae5b098e66538b2a91eb80f25c591ff
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = nginx-mainline-mod-fancyindex-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a9cc3ac05c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+pkgname=nginx-mainline-mod-fancyindex-git
+pkgver=0.4.3
+pkgrel=1
+
+_modname="ngx_fancyindex"
+_nginxver=1.17.7
+
+pkgdesc='Fancy indexes module for the Nginx web server'
+arch=('i686' 'x86_64' 'armv7h')
+makedepends=('git')
+depends=("nginx-mainline=$_nginxver")
+provides=('nginx-mainline-mod-fancyindex')
+conflicts=('nginx-mainline-mod-fancyindex')
+url="https://github.com/aperezdc/ngx-fancyindex"
+license=('CUSTOM')
+
+source=(
+ https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
+ "$_modname::git+https://github.com/aperezdc/ngx-fancyindex.git"
+)
+sha256sums=('b62756842807e5693b794e5d0ae289bd8ae5b098e66538b2a91eb80f25c591ff'
+ 'SKIP'
+ 'SKIP')
+validpgpkeys=('B0F4253373F8F6F510D42178520A9993A1C052F8') # Maxim Dounin <mdounin@mdounin.ru>
+
+prepare() {
+ cd "$srcdir"/$_modname
+ sed 's@/usr/local@/usr@' -i config
+}
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure --with-compat \
+ --add-dynamic-module=../$_modname
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir/"$_modname/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
+}