28 lines
913 B
Bash
28 lines
913 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.32
|
|
revision=2
|
|
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=".96.g3c8a06e6-37_amd64"
|
|
_schecksum="30c62258e5064150f6e655c410e3a67873d0a5cd079601ea8ec5edd487d3655a"
|
|
else
|
|
_sversion=".96.g3c8a06e6-3_i386.deb"
|
|
_schecksum="a60bb5e78b3849c595bd0c106fd6fbd39f5d7498688182d6a9f5d92c252c0ab7"
|
|
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"
|
|
}
|