void-packages/srcpkgs/spotify/template
2019-05-02 22:48:21 -03:00

21 lines
720 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.1.5
revision=1
archs="x86_64"
create_wrksrc=yes
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=".153.gf614956d-16_amd64"
_schecksum="a7e189c430af1788c4f7d02ae411bfb38f0eccc5f829218d9dc81e1dab382037"
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"
}