# Template build file for 'spotify'. pkgname=spotify version=1.0.25 revision=1 _sversion=".127.g58007b4c" short_desc="Proprietary music streaming client" maintainer="Stefan Mühlinghaus " 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 test "${XBPS_TARGET_MACHINE}" = "x86_64"; then _sversion+="-22_amd64" _schecksum="57ecf09094a0334faab244f651272dc84a71ebcd78280a026f913ca029d0b7bb" else _sversion+="-6_i386" _schecksum="c9625ae33dfbad17fe72dfc20b7111b85fc73357dde2a3dcfd4da518bc6abf41" 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" }