28 lines
912 B
Bash
28 lines
912 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.42
|
|
revision=2
|
|
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 test "${XBPS_TARGET_MACHINE}" = "x86_64"; then
|
|
_sversion=".151.g19de0aa6-74_amd64"
|
|
_schecksum="905c0c87091855c9d5d354ebeca9fb3951ff60c08f0dfc1c1898bf66cc8acd15"
|
|
else
|
|
_sversion=".151.g19de0aa6-27_i386"
|
|
_schecksum="a7acb3929747e47669bdcb997c820101e79be3dd4dd48a3596873c5e03935a7c"
|
|
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"
|
|
}
|