View difference between Paste ID: aKLTDpVz and
SHOW: | | - or go back to the newest paste.
1-
1+
pkgname=spotify
2
pkgver=0.4.6
3
pkgrel=1
4
pkgdesc="A lot of our developers are using Linux, obviously they want to listen to music while they’re coding away and looking at the feedback we get it appears that they’re not the only ones. So today we’re pretty happy to present a preview version of Spotify for Linux.
5
Built by our brilliant developers during hack days and late nights, it shares most of the same features as our Windows and Mac OS X desktop applications. Unfortunately, there are issues regarding decoding of local music on the Linux platform so we haven’t included support for local files in this version.
6
As a preview release this version is still unsupported, but we’re running it ourselves and will try to make sure it keeps pace with its Mac and Windows siblings. As we haven’t found a reliable way to display ads yet, this version is only available to Spotify Premium subscribers."
7
8
makedepends=('deb2targz' 'tar')
9
# optdepends=('')
10
arch=('x86_64' 'i686')
11
license=('Copyright (c) 2006-2010 Spotify Ltd')
12
url="http://www.spotify.com"
13
if [ "${CARCH}" = "x86_64" ]; then
14
md5sums=('6204ff3d8c1c3748f1618a4b3ed6e91f')
15
_carch=amd64
16
_pkgver=.50.g0aa5286-1
17
elif [ "${CARCH}" = "i686" ]; then
18
md5sums=('3fd488b724898ceaa9499b82168f4630')
19
 _carch=i386
20
fi
21
22
_asoundver=1.0.14
23
_cver=2.6
24
_qtver=4.5.0
25
depends=("alsa-lib>=${_asoundver}" "glibc>=${_cver}" "qt>=${_qtver}" "pulseaudio")
26
27
source=(
28
  ${pkgname}-${pkgver}-${CARCH}.deb::"http://repository.spotify.com/pool/non-free/s/${pkgname}/${pkgname}-client-qt_${pkgver}${_pkgver}_${_carch}.deb"
29
)
30
31
build() {
32
  install -d ${pkgdir}/usr/share/licenses/${pkgname}
33
  pwd
34
  deb2targz ${pkgname}-${pkgver}-${CARCH}.deb > /dev/null
35
  tar -xzf ${pkgname}-${pkgver}-${CARCH}.tar.gz
36
37
  cp -r usr/ ${pkgdir}/
38
  install -D -m644 usr/share/doc/${pkgname}-client-qt/copyright ${pkgdir}/usr/share/licenses/${pkgname}/
39
  }