30 lines
912 B
Bash
30 lines
912 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.24
|
|
revision=1
|
|
_sversion=".104.g92a22684"
|
|
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+="-29_amd64"
|
|
_schecksum="d87703ba78c70934ab827f1b996aa34d626dc7bb7b371bf94889dae046e8d15f"
|
|
else
|
|
_sversion+="-9_i386"
|
|
_schecksum="d9d8e4dc7c0859f00346cf13046d5ab880fcf2c09754bf73213ce6121c9535a1"
|
|
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"
|
|
}
|