void-packages/srcpkgs/spotify/template

23 lines
728 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.88
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"
repository=nonfree
build_style=fetch
depends="binutils gtk+ nss GConf libXScrnSaver libatomic"
_sversion=".345.gc64d9bb3-2_amd64"
_schecksum=90007dc519af3eea41a7913387bb432a19c0615a877314d974ca683e3ab0c5d6
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"
}