From 6f774d48154b69c2fa1b0644ff764413945ed8ac Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 21 Nov 2015 14:27:36 +0100 Subject: [PATCH] spotify: fix indentation --- srcpkgs/spotify/INSTALL | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/srcpkgs/spotify/INSTALL b/srcpkgs/spotify/INSTALL index 09c08684dec..6a9f25732a2 100644 --- a/srcpkgs/spotify/INSTALL +++ b/srcpkgs/spotify/INSTALL @@ -5,26 +5,26 @@ _BUILDDIR="/tmp/spotify.build" _LIBS=$(ldconfig -vNX -n /usr/lib 2>/dev/null) linklib() { - _LIB=$(echo "$_LIBS" | grep -m 1 "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/') - ln -sf "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}" + _LIB=$(echo "$_LIBS" | grep -m 1 "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/') + ln -sf "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}" } if test "$ACTION" = "post"; then . /usr/share/spotify/pkgdata mkdir -p "$_BUILDDIR" ( - cd "$_BUILDDIR" + cd "$_BUILDDIR" xbps-uhelper fetch "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${SVERSION}.deb" - echo "${SCHECKSUM} spotify-client_${SVERSION}.deb" >checksum - sha256sum -c checksum || exit 1 - ar x "spotify-client_${SVERSION}.deb" + echo "${SCHECKSUM} spotify-client_${SVERSION}.deb" >checksum + sha256sum -c checksum || exit 1 + ar x "spotify-client_${SVERSION}.deb" [ -f data.tar.gz ] && tar xzf data.tar.gz 2>/dev/null [ -f data.tar.xz ] && tar xJf data.tar.xz 2>/dev/null - ) || { - echo Error while extracting; - rm -r "$_BUILDDIR"; - exit 1; - } + ) || { + echo Error while extracting; + rm -r "$_BUILDDIR"; + exit 1; + } mkdir -p /usr/share/licenses/spotify mv "${_BUILDDIR}/usr/share/doc/spotify-client/copyright" /usr/share/licenses/spotify/