vp-build/srcpkgs/spotify/template

23 lines
729 B
Bash

# Template file for 'spotify'
pkgname=spotify
version=1.0.80
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=".480.g51b03ac3-13_amd64"
_schecksum=e32f4816ae79dbfa0c14086e76df3bc83d526402aac1dbba534127fc00fe50ea
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"
}