29 lines
911 B
Bash
29 lines
911 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.49
|
|
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 i686"
|
|
repository=nonfree
|
|
build_style=fetch
|
|
depends="binutils gtk+ nss GConf libXScrnSaver xz"
|
|
|
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
|
_sversion=".125.g72ee7853-83_amd64"
|
|
_schecksum="2fc10858f972f8c1e6ddc0c2090390f03c1441ec266f77cf227e80227d3a11eb"
|
|
else
|
|
_sversion=".125.g72ee7853-21_i386"
|
|
_schecksum="723100d7df9220efe96159d30b900b042f12422a81cc7910e21457d7cdd05866"
|
|
fi
|
|
|
|
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"
|
|
}
|