28 lines
910 B
Bash
28 lines
910 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.45
|
|
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=".186.g3b5036d6-95_amd64"
|
|
_schecksum="e19a5277ea7dee8796edcc49de07036b32cac0ce553ef2aed7416dff6bf8fb3a"
|
|
else
|
|
_sversion="186.g3b5036d6-28_i386"
|
|
_schecksum="8cf17f8938173bd3f5c3092345c8421c5d391aaa46839502ec547e5a57fcedf9"
|
|
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"
|
|
}
|