29 lines
911 B
Bash
29 lines
911 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.34
|
|
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=".146.g28f9eda2-19_amd64"
|
|
_schecksum="af2881c246e683926a5564839d482e61fa02740694562a071bde4835d04a7ade"
|
|
else
|
|
_sversion=".146.g28f9eda2-2_i386"
|
|
_schecksum="aa6bb5fb8bb008cf620d46a9c70f417cc8570cdc4f79b740d5ee24292ee6ad43"
|
|
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"
|
|
}
|