summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge2017-10-25 01:40:48 +0200
committerDavid Runge2017-10-25 01:40:48 +0200
commit39c0bffd3e24b8d5eb32f867c849315ab03faf9a (patch)
tree960c4bd473cb473323e907915c41ae57dceacded
parent7949ad3946cb68e25706336873e94317f5134563 (diff)
downloadaur-39c0bffd3e24b8d5eb32f867c849315ab03faf9a.tar.gz
PKGBUILD: Adding MIT license. Properly quoting variables.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 050f5cf6694b..0bf25e2e0cc2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Oct 17 12:19:28 UTC 2017
+# Tue Oct 24 23:40:32 UTC 2017
pkgbase = prosody-mod-admin-web-hg
pkgdesc = A basic web administration interface for prosody.
- pkgver = r2799.db0f654b9b3f
+ pkgver = r2808.2cc02ee82e8c
pkgrel = 1
url = https://modules.prosody.im/mod_admin_web.html
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index be5f1a702226..d555ea6fe29c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: David Runge <dave@sleepmap.de>
+_pkg=prosody-mod-admin-web
pkgname=prosody-mod-admin-web-hg
-pkgver=r2799.db0f654b9b3f
+pkgver=r2808.2cc02ee82e8c
pkgrel=1
pkgdesc="A basic web administration interface for prosody."
arch=('any')
@@ -22,7 +23,9 @@ prepare() {
}
package() {
+ cd "prosody-modules"
+ install -Dm 0644 COPYING "${pkgdir}/usr/share/licenses/${_pkg}/LICENSE"
cd "${srcdir}/prosody-modules/mod_admin_web/admin_web"
- install -Dm 644 mod_admin_web.lua "${pkgdir}/usr/lib/prosody/modules/mod_admin_web.lua"
+ install -Dm 0644 mod_admin_web.lua "${pkgdir}/usr/lib/prosody/modules/mod_admin_web.lua"
cp -r www_files "${pkgdir}/usr/lib/prosody/modules/"
}