void-packages/srcpkgs/spotify/template

22 lines
729 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.98
revision=1
create_wrksrc=yes
only_for_archs="x86_64"
build_style=fetch
depends="binutils gtk+ nss GConf libXScrnSaver libatomic"
short_desc="Proprietary music streaming client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="Proprietary"
homepage="https://www.spotify.com"
repository=nonfree
_sversion=".78.gb45d2a6b-10_amd64"
_schecksum="917a025985b2f27d4d7448e8128e93c22e76deff740faf69977dad558b85660a"
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"
}