diff --git a/srcpkgs/spotify/INSTALL b/srcpkgs/spotify/INSTALL index 8788241caf..3e51296baa 100644 --- a/srcpkgs/spotify/INSTALL +++ b/srcpkgs/spotify/INSTALL @@ -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}" } diff --git a/srcpkgs/spotify/template b/srcpkgs/spotify/template index 2c10471fb9..6bba684a6b 100644 --- a/srcpkgs/spotify/template +++ b/srcpkgs/spotify/template @@ -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 " homepage="https://www.spotify.com"