summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2018-04-22 18:30:16 +0200
committerMartchus2018-04-22 18:30:16 +0200
commit4ff1fd296c16913dc2c10d84d25fbdea057488e6 (patch)
treea9aa62f47f7c3b33a2e526f38f290420ba9199f1
downloadaur-4ff1fd296c16913dc2c10d84d25fbdea057488e6.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD41
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4aaf7f2fdc6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = nginx-mod-dav-ext
+ pkgdesc = NGINX WebDAV missing commands support
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = http://nginx-rtmp.blogspot.de
+ arch = x86_64
+ license = BSD
+ depends = nginx=1.14.0
+ depends = libutil-linux
+ source = https://nginx.org/download/nginx-1.14.0.tar.gz
+ source = https://nginx.org/download/nginx-1.14.0.tar.gz.asc
+ source = nginx-mod-dav-ext-0.1.0::https://github.com/arut/nginx-dav-ext-module/archive/v0.1.0.tar.gz
+ validpgpkeys = B0F4253373F8F6F510D42178520A9993A1C052F8
+ sha256sums = 5d15becbf69aba1fe33f8d416d97edd95ea8919ea9ac519eff9bafebb6022cb5
+ sha256sums = SKIP
+ sha256sums = 6b004eed8ea16ad8de4d304027bf0413cc323a95914e58625a7dc066481aae3a
+
+pkgname = nginx-mod-dav-ext
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e3c4983e16f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Martchus <martchus@gmx.net>
+
+pkgname=nginx-mod-dav-ext
+pkgver=0.1.0
+pkgrel=1
+_dirname="nginx-dav-ext-module-$pkgver"
+_nginxver=1.14.0
+
+pkgdesc='NGINX WebDAV missing commands support'
+arch=('x86_64')
+depends=("nginx=$_nginxver" "libutil-linux")
+url='http://nginx-rtmp.blogspot.de'
+license=('BSD')
+
+source=(
+ https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
+ "$pkgname-$pkgver::https://github.com/arut/nginx-dav-ext-module/archive/v${pkgver}.tar.gz"
+)
+validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdounin@mdounin.ru>
+sha256sums=('5d15becbf69aba1fe33f8d416d97edd95ea8919ea9ac519eff9bafebb6022cb5'
+ 'SKIP'
+ '6b004eed8ea16ad8de4d304027bf0413cc323a95914e58625a7dc066481aae3a')
+
+prepare() {
+ cd "$srcdir/$_dirname"
+}
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure --with-compat --add-dynamic-module="../$_dirname"
+ make modules
+}
+
+package() {
+ install -Dm755 "$srcdir/$_dirname/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ cd "$srcdir"/nginx-$_nginxver/objs
+ for mod in ngx_*.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}