void-packages/srcpkgs/spotify/template
2016-08-16 20:17:15 +01:00

28 lines
911 B
Bash

# Template build file for 'spotify'.
pkgname=spotify
version=1.0.36
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=".120.g536a862f-20_amd64"
_schecksum="c041f58229451d54dac65da98d5d3d2d005cbc38366cddccad7f38d2c987240f"
else
_sversion=".120.g536a862f-2_i386"
_schecksum="8f8b6b1ba42fa6b610b608f92c0f81ace1b07482ac663ba4381a58bf05dc582c"
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"
}