summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoliathLabs2020-04-16 13:38:47 +0200
committerGoliathLabs2020-04-16 13:38:47 +0200
commit6d870c6439a849283ba1f64d78d37362dc7ef121 (patch)
tree1aee92a59df4f639f7da30189d4f0a3521299e88
downloadaur-6d870c6439a849283ba1f64d78d37362dc7ef121.tar.gz
Added: Package itself 2.0.8
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD51
-rw-r--r--freifunk-meet-desktop.desktop9
3 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4155e030287
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = freifunk-meet-desktop-bin
+ pkgdesc = Jitsi Meet desktop application powered by Electron
+ pkgver = 2.0.8
+ pkgrel = 1
+ url = https://github.com/freifunkMUC/jitsi-meet-electron
+ arch = x86_64
+ license = Apache
+ makedepends = coreutils
+ provides = freifunk-meet-desktop
+ conflicts = freifunk-meet-desktop
+ options = !strip
+ source = ffmuc-meet-x86_64-2.0.8.AppImage::https://github.com/freifunkMUC/jitsi-meet-electron/releases/download/v2.0.8/ffmuc-meet-x86_64.AppImage
+ source = freifunk-meet-desktop.desktop
+ sha256sums = edfd533001ab406c875d9fd1ba3f6e4e796f5c499b6718529da6753d24828a3f
+ sha256sums = d180773e67b25db81c6279ca34d0c2dad0b8d0172554723105ad54f4c939d573
+
+pkgname = freifunk-meet-desktop-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f78b589d50e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Felix Golatofski <contact@xdfr.de>
+_pkgname=freifunk-meet-desktop
+pkgname=${_pkgname}-bin
+pkgver=2.0.8
+pkgrel=1
+pkgdesc="Jitsi Meet desktop application powered by Electron"
+arch=('x86_64')
+url="https://github.com/freifunkMUC/jitsi-meet-electron"
+license=('Apache')
+provides=(${_pkgname})
+conflicts=(${_pkgname})
+depends=()
+makedepends=('coreutils')
+backup=()
+
+options=(!strip)
+source=("ffmuc-meet-${arch[0]}-${pkgver}.AppImage::https://github.com/freifunkMUC/jitsi-meet-electron/releases/download/v${pkgver//_/-}/ffmuc-meet-${arch[0]}.AppImage"
+ "${_pkgname}.desktop")
+sha256sums=('edfd533001ab406c875d9fd1ba3f6e4e796f5c499b6718529da6753d24828a3f'
+ 'd180773e67b25db81c6279ca34d0c2dad0b8d0172554723105ad54f4c939d573')
+
+
+prepare() {
+ chmod u+x ${srcdir}/ffmuc-meet-${arch[0]}-${pkgver}.AppImage
+
+ ${srcdir}/ffmuc-meet-${arch[0]}-${pkgver}.AppImage --appimage-extract
+}
+
+package() {
+ find ${srcdir}/squashfs-root/locales/ -type d -exec chmod 755 {} +
+ find ${srcdir}/squashfs-root/resources/ -type d -exec chmod 755 {} +
+
+ install -d ${pkgdir}/opt/${_pkgname}
+ cp -r ${srcdir}/squashfs-root/* ${pkgdir}/opt/${_pkgname}
+
+ # remove broken or unused files and directories
+ rm -r ${pkgdir}/opt/${_pkgname}/usr/
+ rm ${pkgdir}/opt/${_pkgname}/AppRun
+ rm ${pkgdir}/opt/${_pkgname}/ffmuc-meet.desktop
+ rm ${pkgdir}/opt/${_pkgname}/ffmuc-meet.png
+
+ find ${srcdir}/squashfs-root/usr/share/icons/ -type d -exec chmod 755 {} +
+
+ install -d ${pkgdir}/usr/share/icons
+ cp -r ${srcdir}/squashfs-root/usr/share/icons/hicolor ${pkgdir}/usr/share/icons/hicolor
+
+ install -d ${pkgdir}/usr/bin
+ ln -s ../../opt/${_pkgname}/ffmuc-meet ${pkgdir}/usr/bin/${_pkgname}
+
+ install -Dm644 ${srcdir}/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
+}
diff --git a/freifunk-meet-desktop.desktop b/freifunk-meet-desktop.desktop
new file mode 100644
index 00000000000..f133dc232c9
--- /dev/null
+++ b/freifunk-meet-desktop.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=FreifunkMeet
+Comment=Freifunk Meet Desktop App
+Exec=freifunk-meet-desktop
+Terminal=false
+Type=Application
+Icon=freifunk-meet
+StartupWMClass=Jitsi Meet
+Categories=VideoConference;AudioVideo;Audio;Video;Network;