From ce1f4b6c8041f82d66a16c631ae74b22c2af7185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BChlinghaus?= Date: Thu, 22 Jan 2015 13:52:50 +0100 Subject: [PATCH] spotify: Limited library search to 1 result --- srcpkgs/spotify/INSTALL | 2 +- srcpkgs/spotify/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/spotify/INSTALL b/srcpkgs/spotify/INSTALL index 8788241caf5..3e51296baa2 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 2c10471fb9b..6bba684a6bb 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"