28 lines
909 B
Bash
28 lines
909 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.28
|
|
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=".89.gf959d4ce-37_amd64"
|
|
_schecksum="c563f1c0cd7a632802431191714bd23be05009ce93d70571cc217e606575661b"
|
|
else
|
|
_sversion=".89.gf959d4ce-4_i386"
|
|
_schecksum="d79ffa8e1af22262ab52287a5d8538b74840d7f2f164776309d9f68a38ae0084"
|
|
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"
|
|
}
|