29 lines
911 B
Bash
29 lines
911 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.57
|
|
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=".474.gca9c9538-30_amd64"
|
|
_schecksum="fe46f2084c45c756bee366f744d2821d79e82866b19942e30bb2a20c1e597437"
|
|
else
|
|
_sversion=".474.gca9c9538-30_i386"
|
|
_schecksum="8f2f4e6c71fe923512062e1c0378424a74651f5c107c05e8daf3b7bf67fd6de1"
|
|
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"
|
|
}
|