29 lines
907 B
Bash
29 lines
907 B
Bash
# Template file for 'spotify'
|
|
pkgname=spotify
|
|
version=1.0.69
|
|
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 libatomic"
|
|
|
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
|
_sversion=".336.g7edcc575-39_amd64"
|
|
_schecksum=ed0dc69f7e50879fcf7bd1bb67e33f08af0c17ebd7bb608ce4e7a143dec1022e
|
|
else
|
|
_sversion=".336.g7edcc575-39_i386"
|
|
_schecksum=09f7d26f9a56fa91fcb7984c2c183b627f31cba1a3966c11e3262868fa656821
|
|
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"
|
|
}
|