Merge pull request #1286 from teh-jazzman/spotify
spotify: Fixed extraction for 32bit
This commit is contained in:
commit
36b909a265
|
@ -18,7 +18,8 @@ if test "$ACTION" = "post"; then
|
||||||
echo "${SCHECKSUM} spotify-client_${SVERSION}.deb" >checksum
|
echo "${SCHECKSUM} spotify-client_${SVERSION}.deb" >checksum
|
||||||
sha256sum -c checksum || exit 1
|
sha256sum -c checksum || exit 1
|
||||||
ar x "spotify-client_${SVERSION}.deb"
|
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;
|
echo Error while extracting;
|
||||||
rm -r "$_BUILDDIR";
|
rm -r "$_BUILDDIR";
|
||||||
|
@ -26,7 +27,8 @@ if test "$ACTION" = "post"; then
|
||||||
}
|
}
|
||||||
mkdir -p /usr/share/licenses/spotify
|
mkdir -p /usr/share/licenses/spotify
|
||||||
mv "${_BUILDDIR}/usr/share/doc/spotify-client/copyright" /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
|
for _s in 16 22 24 32 48 64 128 256 512; do
|
||||||
mkdir -p "/usr/share/icons/hicolor/${_s}x${_s}/apps"
|
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"
|
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'.
|
# Template build file for 'spotify'.
|
||||||
pkgname=spotify
|
pkgname=spotify
|
||||||
version=0.9
|
version=0.9
|
||||||
revision=6
|
revision=7
|
||||||
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…
Reference in New Issue