void-packages/srcpkgs/spotify/template

22 lines
729 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.88
revision=3
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=".353.g15c26ea1-14_amd64"
_schecksum=75cb915931e0b5d6480dde9d109f450e7e75bea036dda66332ce838286197c85
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"
}