# Template file for 'spotify' pkgname=spotify version=1.0.66 revision=1 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 libatomic" if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then _sversion=".478.g1296534d-39_amd64" _schecksum=a2e739c0ee009df1c899e42c095735bca231312b75b82e311147d41fb72404c1 else _sversion=".478.g1296534d-39_i386" _schecksum=29795bd5c226e54d531621e645ffe7bd2cc6b4e5c69956c63bdcaade165cb8d9 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" }