28 lines
912 B
Bash
28 lines
912 B
Bash
# Template build file for 'spotify'.
|
|
pkgname=spotify
|
|
version=1.0.43
|
|
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=".123.g80176796-77_amd64"
|
|
_schecksum="42834f461a13981e0b9b9c59d6d933bfa5cc5a392f829f7f32e3740fb9a7d149"
|
|
else
|
|
_sversion=".123.g80176796-24_i386"
|
|
_schecksum="dfb6200303b617f1c8e50434ca888c5a48faae14389a1e54035f8d33bd5d319a"
|
|
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"
|
|
}
|