29 lines
911 B
Bash
29 lines
911 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.33
|
|
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 test "${XBPS_TARGET_MACHINE}" = "x86_64"; then
|
|
_sversion=".106.g60b5d1f0-22_amd64"
|
|
_schecksum="0e3017382b179b3cc84bd188fccaae12b32ca48dbf197924f6b79066f91121c3"
|
|
else
|
|
_sversion=".106.g60b5d1f0-1_i386"
|
|
_schecksum="fca0bf364679ab28091071a0406a4072ab0f1b596af0cefae27580eea56ac1e8"
|
|
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"
|
|
}
|