void-packages/srcpkgs/spotify/template
2017-03-07 07:57:05 +01:00

28 lines
912 B
Bash

# Template build file for 'spotify'.
pkgname=spotify
version=1.0.49
revision=2
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 [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
_sversion=".125.g72ee7853-111_amd64"
_schecksum="1d6d1cccfb7f996b835f21c8dbabc16ca4bd214878e06738dba7886640470050"
else
_sversion=".125.g72ee7853-22_i386"
_schecksum="96c02fdc77991feb0797089d701744c2de4584322f966a1c070b559df27f9b04"
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"
}