summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD34
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c5640b2c54d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = jitsi-meet-prosody-nightly
+ pkgdesc = Jitsi Meet Prosody Plugins
+ pkgver = 1.0.4294
+ pkgrel = 1
+ url = https://jitsi.org/jitsi-meet/
+ arch = any
+ groups = jitsi-meet,
+ groups = celogeek
+ license = Apache
+ optdepends = prosody
+ optdepends = lua52
+ optdepends = lua52-sec
+ optdepends = lua52-zip
+ optdepends = lua52-event
+ options = !strip
+ source = jitsi-meet-prosody-nightly::git+https://github.com/jitsi/jitsi-meet#tag=4294
+ sha256sums = SKIP
+
+pkgname = jitsi-meet-prosody-nightly
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6a5be4502cd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+jitsi-meet-prosody-nightly/
+src/
+pkg/
+*.pkg.tar.xz
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')