Merge pull request #909 from teh-jazzman/spotify

spotify: Limited library search to 1 result
This commit is contained in:
Juan RP 2015-01-22 20:20:32 +01:00
commit c9dc6ceb29
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"