spotify: Limited library search to 1 result
This commit is contained in:
parent
93c668b11b
commit
ce1f4b6c80
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ _BUILDDIR="/tmp/spotify.build"
|
||||||
_LIBS=$(ldconfig -vNX -n /usr/lib 2>/dev/null)
|
_LIBS=$(ldconfig -vNX -n /usr/lib 2>/dev/null)
|
||||||
|
|
||||||
linklib() {
|
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}"
|
ln -s "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'spotify'.
|
# Template build file for 'spotify'.
|
||||||
pkgname=spotify
|
pkgname=spotify
|
||||||
version=0.9
|
version=0.9
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="Proprietary music streaming client"
|
short_desc="Proprietary music streaming client"
|
||||||
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
||||||
homepage="https://www.spotify.com"
|
homepage="https://www.spotify.com"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue