spotify: Limited library search to 1 result

This commit is contained in:
Stefan Mühlinghaus 2015-01-22 13:52:50 +01:00
parent 93c668b11b
commit ce1f4b6c80
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ _BUILDDIR="/tmp/spotify.build"
_LIBS=$(ldconfig -vNX -n /usr/lib 2>/dev/null)
linklib() {
_LIB=$(echo "$_LIBS" | grep "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/')
_LIB=$(echo "$_LIBS" | grep -m 1 "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/')
ln -s "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}"
}

View File

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