# Template file for 'spotify'
pkgname=spotify
version=1.0.92
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"
repository=nonfree
build_style=fetch
depends="binutils gtk+ nss GConf libXScrnSaver libatomic"
_sversion=".390.g2ce5ec7d-18_amd64"
_schecksum=039443c918f44f853ef293b5804481b503ae5a5ec63e2bc670e7aecfb6c84f80

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"
}
