spotify: Limited library search to 1 result
This commit is contained in:
parent
93c668b11b
commit
ce1f4b6c80
|
@ -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}"
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue