summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df6529733d8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+_basename=jitsi-meet
+_pkgname=prosody
+_tag=4294
+_version=1.0.4294
+
+pkgname=${_basename}-${_pkgname}-nightly
+pkgver=${_version}
+pkgrel=1
+pkgdesc="Jitsi Meet Prosody Plugins"
+arch=('any')
+url="https://jitsi.org/jitsi-meet/"
+license=('Apache')
+depends=()
+optdepends=("prosody" "lua52" "lua52-sec" "lua52-zip" "lua52-event")
+makedepends=(
+)
+options=('!strip')
+backup=(
+)
+source=(
+ "$pkgname::git+https://github.com/jitsi/jitsi-meet#tag=${_tag}"
+)
+groups=('jitsi-meet', 'celogeek')
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" doc/debian/jitsi-meet-prosody/prosody.cfg.lua-jvb.example
+ sed -i 's@/usr/share/jitsi-meet/prosody-plugins/@/usr/lib/'$pkgname'@' "${pkgdir}/usr/share/doc/${pkgname}/prosody.cfg.lua-jvb.example"
+
+ install -d "${pkgdir}/usr/lib"
+ cp -Rv "resources/prosody-plugins" "${pkgdir}/usr/lib/${pkgname}"
+}
+sha256sums=('SKIP')