spotify: Fixed extraction for 32bit
This commit is contained in:
parent
74c1c3418f
commit
13c7578472
2 changed files with 5 additions and 3 deletions
|
@ -18,7 +18,8 @@ if test "$ACTION" = "post"; then
|
|||
echo "${SCHECKSUM} spotify-client_${SVERSION}.deb" >checksum
|
||||
sha256sum -c checksum || exit 1
|
||||
ar x "spotify-client_${SVERSION}.deb"
|
||||
tar xf data.tar.xz
|
||||
[ -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";
|
||||
|
@ -26,7 +27,8 @@ if test "$ACTION" = "post"; then
|
|||
}
|
||||
mkdir -p /usr/share/licenses/spotify
|
||||
mv "${_BUILDDIR}/usr/share/doc/spotify-client/copyright" /usr/share/licenses/spotify/
|
||||
mv "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client
|
||||
|
||||
mv -f "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client
|
||||
for _s in 16 22 24 32 48 64 128 256 512; do
|
||||
mkdir -p "/usr/share/icons/hicolor/${_s}x${_s}/apps"
|
||||
ln -sf "/usr/share/spotify/spotify-client/Icons/spotify-linux-${_s}.png" "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'spotify'.
|
||||
pkgname=spotify
|
||||
version=0.9
|
||||
revision=6
|
||||
revision=7
|
||||
short_desc="Proprietary music streaming client"
|
||||
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
||||
homepage="https://www.spotify.com"
|
||||
|
|
Loading…
Reference in a new issue