void-packages/srcpkgs/spotify/template
2018-12-05 22:44:50 +01:00

21 lines
729 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.94
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=".262.g3d5c231c-9_amd64"
_schecksum="92803d614da2fd4802f801d85da9cf786f34216bbfa6085d5791c3e8350b4f44"
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"
}