summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDónal Murray2018-09-19 11:57:57 +0100
committerDónal Murray2018-09-19 11:57:57 +0100
commit57d78cf07e8e767b1b59cf32463795f920433a3b (patch)
treed8738797c3ba87ca5ef77eb0f505a6ac45ff786e
parent9c80aef0700ef7036f5e1004f7aea8eac887d47a (diff)
downloadaur-57d78cf07e8e767b1b59cf32463795f920433a3b.tar.gz
Fix libidn breakage by symlinking new library name to install path
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ee4319ae285..760618b16ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vidyodesktop
pkgdesc = VidyoDesktop(TM) video conferencing client
pkgver = 3.6.3.017
- pkgrel = 5
+ pkgrel = 6
url = http://www.vidyo.com
install = vidyodesktop.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 252ab2b0a58..deb09fb6d45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=vidyodesktop
pkgver=3.6.3.017
-pkgrel=5
+pkgrel=6
pkgdesc="VidyoDesktop(TM) video conferencing client"
arch=('i686' 'x86_64')
url="http://www.vidyo.com"
@@ -33,5 +33,8 @@ package() {
install -dm1777 "${pkgdir}/opt/vidyo/VidyoDesktop/lic"
install -Dm0644 "${pkgdir}/opt/vidyo/VidyoDesktop/license.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ mkdir "${pkgdir}/opt/vidyo/VidyoDesktop/lib"
+ ln -s '/usr/lib/libidn.so' "${pkgdir}/opt/vidyo/VidyoDesktop/lib/libidn.so.11"
+ sed -i 's#/opt/vidyo/VidyoDesktop/$EXEC#LD_LIBRARY_PATH=/opt/vidyo/VidyoDesktop/lib /opt/vidyo/VidyoDesktop/$EXEC#g' "${pkgdir}/usr/bin/VidyoDesktop"
}