29 lines
907 B
Bash
29 lines
907 B
Bash
# Template file for 'spotify'
|
|
pkgname=spotify
|
|
version=1.0.70
|
|
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=".399.g5ffabd56-26_amd64"
|
|
_schecksum=49b43eb761ab49464aead254c4effbc8d7f2078353124bb7c4d8cf1ec29fea4e
|
|
else
|
|
_sversion=".399.g5ffabd56-27_i386"
|
|
_schecksum=25418423393cf2fda010ba1db7e3b160c40c382e17f15bf1a5ad1aee0614f2a6
|
|
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"
|
|
}
|