diff options
author | Daniel Poellmann | 2024-01-11 18:00:08 +0000 |
---|---|---|
committer | Daniel Poellmann | 2024-01-11 18:00:08 +0000 |
commit | ae07beacf92abf75f1fe33fef478c182baf062ff (patch) | |
tree | 3bf9519ab6520d6fbaed7b8c904ee769c2811d33 | |
parent | ff3e8f692c50e071b08d5175538b154ea9b0c978 (diff) | |
download | aur-ae07beacf92abf75f1fe33fef478c182baf062ff.tar.gz |
fixed previous push
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = linphone-desktop pkgdesc = A free VoIP and video softphone based on the SIP protocol pkgver = 5.2.0 - pkgrel = 1 + pkgrel = 4 url = http://linphone.org arch = x86_64 license = GPL @@ -3,7 +3,7 @@ pkgname=linphone-desktop pkgver=5.2.0 -pkgrel=1 +pkgrel=4 pkgdesc='A free VoIP and video softphone based on the SIP protocol' arch=(x86_64) url='http://linphone.org' @@ -39,7 +39,7 @@ build() { --genericname="VoIP Client" \ --categories=Network \ --icon=linphone.png \ - --exec=/opt/linphone/bin/linphone \ + --exec=/opt/linphone/linphone-launcher \ --terminal=false \ --startupnotify=true \ --comment "Linphone" @@ -54,4 +54,12 @@ package() { mkdir -p "$pkgdir/usr/share/pixmaps/" install -Dm644 "$srcdir/linphone.png" "$pkgdir/usr/share/pixmaps/" + + # Add linphone's own lib folder to LD_LIBRARY_PATH + echo "#!/bin/bash" > "$pkgdir/opt/linphone/linphone-launcher" + echo 'LD_LIBRARY_PATH="/opt/linphone/lib:$LD_LIBRARY_PATH" /opt/linphone/bin/linphone "$@"' >> "$pkgdir/opt/linphone/linphone-launcher" + chmod +x "$pkgdir/opt/linphone/linphone-launcher" + + mkdir -p "$pkgdir/usr/bin/" + ln -s /opt/linphone/linphone-launcher "$pkgdir/usr/bin/linphone" } |