void-packages/srcpkgs/spotify/template

22 lines
730 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.96
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=".181.gf6bc1b6b-12_amd64"
_schecksum="2753635edf06280148a4f7886cc980ebef57d5f4c9d71ab25a782e95b2c8c34e"
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"
}