void-packages/srcpkgs/spotify/template
Stefan Mühlinghaus 1338d8b020 spotify: update to 1.0.64
Closes: #7865 [via git-merge-pr]
2017-09-29 11:17:31 +00:00

28 lines
907 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.64
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 i686"
repository=nonfree
build_style=fetch
depends="binutils gtk+ nss GConf libXScrnSaver libatomic"
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
_sversion=".401.g9d720389-21_amd64"
_schecksum=cc69c8826bf495ecf57b1d0daf6df87754592f48668cec4992d5187bbe85d308
else
_sversion=".401.g9d720389-21_i386"
_schecksum=2ae829d5e5974a3180d96b3c0164368c0f866b727108f0441a0d65a9b05c649c
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"
}