diff options
author | agg3l | 2016-05-11 21:22:52 +0300 |
---|---|---|
committer | agg3l | 2016-05-11 21:22:52 +0300 |
commit | 2545426ebd7f6f1950975a2135b5a62cfab201e5 (patch) | |
tree | 6ce27dbcb684672cab9b7b25addb587fdb60d1d2 /PKGBUILD | |
parent | d02dbe1034012ae7010b464aaa5724a3f25c4e9d (diff) | |
download | aur-2545426ebd7f6f1950975a2135b5a62cfab201e5.tar.gz |
broken package build script fixed (2.0.495-1)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -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" |