# Template file for 'spotify'
pkgname=spotify
version=1.1.0
revision=1
create_wrksrc=yes
archs="x86_64"
build_style=fetch
depends="binutils gtk+ nss GConf libXScrnSaver libatomic"
short_desc="Proprietary music streaming client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="Proprietary"
homepage="https://www.spotify.com"
repository=nonfree
_sversion=".237.g378f6f25-11_amd64"
_schecksum="4b77c6baa59d5e8d8e6f800138fefdf579747cb81615b9711dfa25d6c2d5fa9f"
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"
}
