summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarrat2021-01-11 00:04:30 +0100
committerNarrat2021-01-11 00:04:30 +0100
commitb2c0ec9e33be9da4ab84953e74d09ece6fab686c (patch)
treebc948a2d862924d26dcf8305c0836b57510646eb
parent19b3393f3e6f50bbd810070f21e833063731966b (diff)
downloadaur-b2c0ec9e33be9da4ab84953e74d09ece6fab686c.tar.gz
Prosody-mod-http-libjs: add optdeps
The default http templates use some javascript engines. Found in jquery and bootstrap. Additional configuration to make those work though
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5fff02d35ec..7d12d89af2f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,14 @@
pkgbase = prosody-mod-http-libjs
pkgdesc = Serve common Javascript libraries
pkgver = 2020.09.11
- pkgrel = 1
+ pkgrel = 2
url = https://modules.prosody.im/mod_http_libjs.html
arch = any
license = MIT
makedepends = mercurial
depends = prosody
+ optdepends = jquery: for the default html templates
+ optdepends = bootstrap: for the default html templates
source = hg+https://hg.prosody.im/prosody-modules/#revision=de2390d6bbe4
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 8254eba45c2c..2557ac59ac45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=prosody-mod-http-libjs
pkgver=2020.09.11
-pkgrel=1
+pkgrel=2
_commit="de2390d6bbe4"
pkgdesc="Serve common Javascript libraries"
arch=('any')
@@ -10,6 +10,8 @@ url="https://modules.prosody.im/mod_http_libjs.html"
license=('MIT')
depends=('prosody')
makedepends=('mercurial')
+optdepends=("jquery: for the default html templates"
+ "bootstrap: for the default html templates")
source=("hg+https://hg.prosody.im/prosody-modules/"#revision=$_commit)
sha1sums=('SKIP')