Package Details: spotify 1:1.2.89.539-1

Git Clone URL: https://aur.archlinux.org/spotify.git (read-only, click to copy)
Package Base: spotify
Description: A proprietary music streaming service
Upstream URL: https://www.spotify.com
Licenses: custom
Submitter: Foxboron
Maintainer: gromit (Antiz)
Last Packager: gromit
Votes: 266
Popularity: 12.14
First Submitted: 2023-02-09 22:51 (UTC)
Last Updated: 2026-05-18 14:53 (UTC)

Pinned Comments

Antiz commented on 2025-11-23 18:37 (UTC) (edited on 2025-11-23 18:41 (UTC) by Antiz)

Please make sure to import the correct OpenPGP key first:

$ curl -sS https://download.spotify.com/debian/pubkey_5384CE82BA52C83A.gpg | gpg --import -

And always build in a clean chroot. It is as easy as:

pacman -S devtools
git clone https://aur.archlinux.org/spotify.git
cd spotify
pkgctl build
pacman -U <path-to-spotify-package>

It is expected that the package will break now and then, as spotify continuously changes download binaries, OpenPGP keys, etc (which is not appropriate, but we cannot change this). Please be patient if an update does not occur the next day, you can still use an existing spotify install or update the version yourself.

Antiz commented on 2023-09-13 13:21 (UTC)

@lightofpast Just pushed v1:1.2.20.1210-2 that now allows you to set custom launch flags in a spotify-flags.conf file under $XDG_CONFIG_HOME or ~/.config :)

Latest Comments

« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 Next › Last »

MarsSeed commented on 2023-06-20 10:02 (UTC)

@angusm please read my earlier comment, I've written a workable solution to that. The current files meant to go into source=() should be saved on web.archive.org, and then the archived copies should be linked to by this AUR package.

angusm commented on 2023-06-20 09:52 (UTC)

Currently prepare() checks that the hash of Packages matches the one mentioned in Release, and that the hash of the deb package itself matches the one mentioned in Packages.

This is reasonable because it establishes a chain of trust from the deb package back to the PGP key that signed Release. It seems the problem is that Packages only contains the hash of the latest version, so this PKGBUILD breaks every time Spotify releases a new version (even if the old version is still available).

Not sure what to do to improve that situation.

angusm commented on 2023-06-20 09:40 (UTC)

New working patch:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,9 @@
 # Contributor: Eothred <yngve.levinsen@gmail.com>

 pkgname=spotify
-pkgver='1.2.9.743'
+pkgver='1.2.13.661'
 epoch=1
-_commit=g85d9593d
+_commit=ga588f749
 pkgrel=1
 pkgdesc='A proprietary music streaming service'
 arch=('x86_64')
@@ -34,7 +34,7 @@ source=('spotify.protocol'
         "${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages::http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages")
 sha512sums=('999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20'
             '2e16f7c7b09e9ecefaa11ab38eb7a792c62ae6f33d95ab1ff46d68995316324d8c5287b0d9ce142d1cf15158e61f594e930260abb8155467af8bc25779960615'
-            '3939213b1f7a2776000417e48fec84aebb8b1f4156b3521542c9b901b4e78f4ff00d9d20c77747ae67bde75a4a36dabc5a3e5e431aef66207b6a8b264e58c9e5'
+            '5ccac37274ca587414a9f4c5c427fd5d4b93bbde0b39efb94ccf79a1b5947df4a00a79e00686e59a4ccd097eca0bad88e6f030f2e236d86a82c37d8e011217e9'
             'SKIP'
             'SKIP'
             'SKIP')

TaYaKi71751 commented on 2023-06-15 13:07 (UTC) (edited on 2023-06-15 13:07 (UTC) by TaYaKi71751)

Make a file version.patch:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,9 @@
 # Contributor: Eothred <yngve.levinsen@gmail.com>

 pkgname=spotify
-pkgver='1.2.9.743'
+pkgver='1.2.11.916'
 epoch=1
-_commit=g85d9593d
+_commit=geb595a67
 pkgrel=1
 pkgdesc='A proprietary music streaming service'
 arch=('x86_64')
@@ -34,7 +34,7 @@ source=('spotify.protocol'
         "${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages::http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages")
 sha512sums=('999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20'
             '2e16f7c7b09e9ecefaa11ab38eb7a792c62ae6f33d95ab1ff46d68995316324d8c5287b0d9ce142d1cf15158e61f594e930260abb8155467af8bc25779960615'
-            '3939213b1f7a2776000417e48fec84aebb8b1f4156b3521542c9b901b4e78f4ff00d9d20c77747ae67bde75a4a36dabc5a3e5e431aef66207b6a8b264e58c9e5'
+            '433b8cb271305c8bc64d33eb16452e7b3fed4afabbd3f374b9af4ad808999a595eedf87cc9415087715c9779fd24c6ae4332c557c9bc4b9f6546b043eb1e98f7'
             'SKIP'
             'SKIP'
             'SKIP')

Run patch:

patch -p1 < ./version.patch

Install:

makepkg -Si && makepkg -i

Whey_Isolate commented on 2023-06-15 04:17 (UTC)

Also getting the same error as some other commenters:

curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.9.743.g85d9593d_amd64.deb

mio-19 commented on 2023-06-14 12:50 (UTC)

curl: (22) The requested URL returned error: 404

kript66661 commented on 2023-06-11 14:43 (UTC) (edited on 2023-06-11 14:44 (UTC) by kript66661)

Getting an error:

curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.9.743.g85d9593d_amd64.deb

seems like the spotify-client_1.2.9.743.g85d9593d_amd64.deb is no longer available on the server. need to update officialPKGBUILD for other official clients.

MarsSeed commented on 2023-06-10 19:13 (UTC)

I am reposting my last comment because it gets lost with the posted PKGBUILD spam (which does not even incorporate my suggestion to solve the missing source problems).

To avoid source 404 errors due to Spotify deleting old versions, I suggest to make web.archive.org save the actual source files whenever a new version is out, and link to those in PKGBUILD.

E.g., see available archived DEB files as of June 10, 2023.

With this solution, people could keep installing the non-latest version of Spotify until AUR package maintainer(s) had the chance to update to the newer release.

MarsSeed commented on 2023-06-10 19:12 (UTC)

It is not useful to spam the comment thread by posting full PKGBUILD versions.

Please submit only short deltas, or upload your PKGBUILD somewhere, e.g. PasteBin.