void-packages/srcpkgs/spotify/template
Stefan Mühlinghaus 7dd890292b spotify: update to 1.0.70
Closes: #10521 [via git-merge-pr]
2018-01-07 21:36:57 +01:00

28 lines
907 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.70
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=".399.g5ffabd56-26_amd64"
_schecksum=49b43eb761ab49464aead254c4effbc8d7f2078353124bb7c4d8cf1ec29fea4e
else
_sversion=".399.g5ffabd56-27_i386"
_schecksum=25418423393cf2fda010ba1db7e3b160c40c382e17f15bf1a5ad1aee0614f2a6
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"
}