summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD17
2 files changed, 8 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae5b1c1dded2..10381a72092a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Wed May 11 18:15:23 UTC 2016
pkgbase = sky
pkgdesc = Lync & Skype for business on Linux
pkgver = 2.0.495
- pkgrel = 1
+ pkgrel = 2
url = http://tel.red
install = sky.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5f38f915646f..4ce098f2d6c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=sky
pkgver=2.0.495
-pkgrel=1
+pkgrel=2
pkgdesc="Lync & Skype for business on Linux"
arch=(
@@ -39,17 +39,10 @@ package() {
ar x "sky_ubuntu${_arch}_v${pkgver}.deb" >/dev/null
tar -zxf data.tar.gz
- local icu_libs
- icu_libs="libicudata libicule libicutest libicuio libicui18n
- libicutu libicuuc libiculx"
-
- # fix broken rpaths of bundled icu libs
- chrpath -d "${srcdir}"/opt/sky_linux/sky
- for lib in libsipw ${icu_libs}; do
- chrpath -d "${srcdir}"/opt/sky_linux/lib/${lib}.so*
- done
- chrpath -d "${srcdir}/opt/sky_linux/platforminputcontexts/libfcitxplatforminputcontextplugin.so"
-
+ # delete broken and excessive RPATH/RUNPATH
+ find "${srcdir}/opt/sky_linux" -type f -name '*.so*' -exec chrpath -d {} \;
+ chrpath -d "${srcdir}/opt/sky_linux/sky"
+
cp -rf "${srcdir}/etc" "${pkgdir}/"
install -Dm 644 "${srcdir}/usr/share/applications/sky.desktop" "${pkgdir}/usr/share/applications/sky.desktop"
install -Dm 644 "${srcdir}/usr/share/pixmaps/sky.png" "${pkgdir}/usr/share/pixmaps/sky.png"