# Maintainer: Ole Jon Bjørkum # Contributor: Doug Newgard pkgname=spotify-legacy pkgver=0.9.17 pkgrel=3 pkgdesc="A proprietary music streaming service." arch=('x86_64') url="https://www.spotify.com/download/linux/" license=('custom') depends=('alsa-lib' 'desktop-file-utils' 'ffmpeg0.10' 'gconf' 'glib2' 'gtk2' 'nss' 'libcurl-compat' 'libgcrypt15' 'libsystemd' 'libx11' 'libxss' 'libxtst' 'nss' 'openssl-1.0' 'qt4' 'rtmpdump' 'zenity') provides=("spotify=$pkgver") conflicts=('spotify' 'spotify-beta' 'spotify094' 'spotify-stable') source=("http://repository-origin.spotify.com/pool/non-free/s/spotify/spotify-client-${pkgver}_${pkgver}.8.gd06432d.31-1_amd64.deb" "spotify-LICENSE.html::https://www.spotify.com/us/legal/end-user-agreement/") md5sums=('69a320368ded33cfcc4e3bb4cc71575c' 'SKIP') package() { bsdtar -xf data.tar.xz -C "$pkgdir" install -Dm644 spotify-LICENSE.html "$pkgdir/usr/share/licenses/$pkgname/LICENSE.html" cd "$pkgdir/opt/spotify/spotify-client/" install -Dm644 spotify.desktop -t "$pkgdir/usr/share/applications/" for res in 16 22 24 32 48 64 128 256 512; do install -Dm644 Icons/spotify-linux-$res.png "$pkgdir/usr/share/icons/hicolor/${res}x${res}/apps/spotify-client.png" done install -Dm644 licenses.xhtml -t "$pkgdir/usr/share/licenses/$pkgname/" }