29 lines
907 B
Bash
29 lines
907 B
Bash
# Template file for 'spotify'
|
|
pkgname=spotify
|
|
version=1.0.64
|
|
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 libatomic"
|
|
|
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
|
_sversion=".407.g9bd02c2d-26_amd64"
|
|
_schecksum=8c97a95ade46ce9f8e2bbe565cd2e79396ed31fc4f0646a907a6f3e028db887d
|
|
else
|
|
_sversion=".407.g9bd02c2d-26_i386"
|
|
_schecksum=0e32bc8b21d591f8def932403b8ef3632e95eba4b5628506dfdf6d521dce7941
|
|
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"
|
|
}
|