void-packages/srcpkgs/spotify/template
2016-09-24 17:40:08 +02:00

28 lines
912 B
Bash

# Template build file for 'spotify'.
pkgname=spotify
version=1.0.38
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 xz"
if test "${XBPS_TARGET_MACHINE}" = "x86_64"; then
_sversion=".171.g5e1cd7b2-22_amd64"
_schecksum="a0905dbf02657996356e4779dac9554f8679c3e7cb52c6f867213c91385b1956"
else
_sversion=".171.g5e1cd7b2-22_i386"
_schecksum="0d6db03c51aea6ad2ddcb5cff2cb3212f209497b4152aac603fbb3ceb2c38586"
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"
}