void-packages/srcpkgs/spotify/template

29 lines
907 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.67
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=".582.g19436fa3-28_amd64"
_schecksum=7e5e90b7ae0d797ec3b9b7592d8e2253c773d5f7be90b7014f06f481f82bce1a
else
_sversion=".582.g19436fa3-28_i386"
_schecksum=cf1ce274475d2468cd93227dc32cff613cd5b2d682c18a7567568a96864d33b4
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"
}