void-packages/srcpkgs/spotify/template

29 lines
907 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.72
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=".117.g6bd7cc73-35_amd64"
_schecksum=5749c853479a6559b8642a531ba357e40d3c95116314e74e31197569dee62c7a
else
_sversion=".117.g6bd7cc73-35_i386"
_schecksum=f5ac29e8374901ce7401825d13471c03bcf6ec8106f8c210c710b0a8d7b22ca9
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"
}