spotify: fix warnings while updating. fixes #1044

This commit is contained in:
Enno Boland 2015-03-02 10:24:58 +01:00
parent 7621e3b99e
commit 545e96bd15
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ _LIBS=$(ldconfig -vNX -n /usr/lib 2>/dev/null)
linklib() {
_LIB=$(echo "$_LIBS" | grep -m 1 "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/')
ln -s "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}"
ln -sf "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}"
}
if test "$ACTION" = "post"; then
@ -29,10 +29,10 @@ if test "$ACTION" = "post"; then
mv "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client
for _s in 16 22 24 32 48 64 128 256 512; do
mkdir -p "/usr/share/icons/hicolor/${_s}x${_s}/apps"
ln -s "/usr/share/spotify/spotify-client/Icons/spotify-linux-${_s}.png" "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png"
ln -sf "/usr/share/spotify/spotify-client/Icons/spotify-linux-${_s}.png" "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png"
done
mkdir -p /usr/share/applications
ln -s /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop
ln -sf /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop
if test "$ARCH" = "x86_64"; then
linklib "libssl" "1.0.0"

View File

@ -1,7 +1,7 @@
# Template build file for 'spotify'.
pkgname=spotify
version=0.9
revision=4
revision=5
short_desc="Proprietary music streaming client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
homepage="https://www.spotify.com"