# Template build file for 'spotify'. pkgname=spotify version=1.0.42 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 xz" if test "${XBPS_TARGET_MACHINE}" = "x86_64"; then _sversion=".145.g7a5a182e-37_amd64" _schecksum="3fb12b496b52fcd4e42c95f430b75ef3874ad21564615a460fb5380b9b7a14b3" else _sversion=".145.g7a5a182e-17_i386" _schecksum="ffc5f2d2e30d6cca17449d1cd07f50085df57a0c3a2943f8ba8608f8b9d01d8a" 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" }