summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoragg3l2016-05-11 21:22:52 +0300
committeragg3l2016-05-11 21:22:52 +0300
commit2545426ebd7f6f1950975a2135b5a62cfab201e5 (patch)
tree6ce27dbcb684672cab9b7b25addb587fdb60d1d2 /PKGBUILD
parentd02dbe1034012ae7010b464aaa5724a3f25c4e9d (diff)
downloadaur-2545426ebd7f6f1950975a2135b5a62cfab201e5.tar.gz
broken package build script fixed (2.0.495-1)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 5 insertions, 12 deletions
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"