summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Roijakkers2024-06-30 09:54:14 +0200
committerCedric Roijakkers2024-06-30 09:54:14 +0200
commit257c3606b0349b6adaefb035f343461d207de9e0 (patch)
treef2dd96fa0f0c58a2f618fa841f1e3789250701bb
parentdb965cd037d29424062251fbc233e660484cb70a (diff)
downloadaur-257c3606b0349b6adaefb035f343461d207de9e0.tar.gz
Updated to Electron v31.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD19
2 files changed, 3 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 428eae0e58fd..c6b657aefb8a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -24,7 +24,7 @@ pkgbase = ferdium-bin
depends = minizip
depends = re2
depends = snappy
- depends = electron30
+ depends = electron31
provides = ferdium
conflicts = ferdium
conflicts = ferdium-nightly-bin
diff --git a/PKGBUILD b/PKGBUILD
index 5c9df61e2127..5df1af3a6f41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_pkgname='ferdium'
pkgname="$_pkgname-bin"
-_electron='electron30'
-_electronpackage='electron30'
+_electron='electron31'
+_electronpackage='electron31'
pkgverorg='6.7.5'
pkgver='6.7.5'
pkgrel='1'
@@ -66,21 +66,6 @@ EOF
for _size in 16 24 32 48 64 96 128 256 512 1024; do
install -Dm644 "usr/share/icons/hicolor/${_size}x${_size}/apps/$_pkgname.png" "$pkgdir/usr/share/icons/hicolor/${_size}x${_size}/apps/$_pkgname.png"
done
-
- # Add an extra desktop file to run Ferdium with Wayland
- cat << EOF > "$pkgdir/usr/share/applications/$_pkgname-wayland.desktop"
-[Desktop Entry]
-Name=${_pkgname^} - Wayland
-Exec=/usr/bin/$_pkgname --enable-features=WaylandWindowDecorations --ozone-platform-hint=wayland %U
-Terminal=false
-Type=Application
-Icon=ferdium
-StartupWMClass=Ferdium
-Comment=Ferdium is your messaging app / former heir to the throne of Austria-Hungary and combines chat & messaging services into one application. Ferdium currently supports Slack, WhatsApp, Gmail, Facebook Messenger, Telegram, Google Hangouts, GroupMe, Skype and many more. You can download Ferdium for free for Mac, Windows, and Linux.
-MimeType=x-scheme-handler/ferdium;
-Categories=Network;InstantMessaging;
-EOF
-
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
for _license in 'LICENSE.electron.txt' 'LICENSES.chromium.html'; do
ln -sf "/opt/$pkgname/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license"