29 lines
909 B
Bash
29 lines
909 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.29
|
|
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=".92.g67727800-21_amd64"
|
|
_schecksum="c44fee4e687e73906760e008c863f2166f1f715d130329ef5621047bef548188"
|
|
else
|
|
_sversion=".92.g67727800-3_i386"
|
|
_schecksum="9b888e112f02be43566e343d032552c5e8b82ad8e75adc3f8409dc5f8a87e4b9"
|
|
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"
|
|
}
|