void-packages/srcpkgs/spotify/template
Michael Gehring a435083b3c spotify: revert to 1.0.44.
Logging in is broken in 1.0.45.
2016-12-28 19:23:00 +00:00

29 lines
928 B
Bash

# Template build file for 'spotify'.
pkgname=spotify
reverts=1.0.45_1
version=1.0.44
revision=1
short_desc="Proprietary music streaming client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
homepage="https://www.spotify.com"
license="Proprietary"
create_wrksrc=yes
only_for_archs="x86_64 i686"
repository=nonfree
build_style=fetch
depends="binutils gtk+ nss GConf libXScrnSaver xz"
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
_sversion=".100.ga60c0ce1-89_amd64"
_schecksum="098ea8b392f9e0e9b7eccc6d8b8768d2071f8120514772c4e20580e460ffa872"
else
_sversion=".100.ga60c0ce1-29_i386"
_schecksum="3f88c9eedbe4d026b010a2d38a69730fc331d29b1ce3bf48409807e8bb59542b"
fi
do_install() {
vbin ${FILESDIR}/spotify
vmkdir usr/share/spotify
echo "export SVERSION=\"${version}${_sversion}\"" >"${DESTDIR}/usr/share/spotify/pkgdata"
echo "export SCHECKSUM=\"${_schecksum}\"" >>"${DESTDIR}/usr/share/spotify/pkgdata"
}