Package Details: spicetify-cli 2.40.13-1

Git Clone URL: https://aur.archlinux.org/spicetify-cli.git (read-only, click to copy)
Package Base: spicetify-cli
Description: Command-line tool to customize Spotify client
Upstream URL: https://github.com/spicetify/cli
Keywords: customization spotify theme
Licenses: LGPL-2.1-only
Submitter: khanhas
Maintainer: khanhas (itsmeowdev)
Last Packager: itsmeowdev
Votes: 75
Popularity: 2.95
First Submitted: 2019-01-11 04:14 (UTC)
Last Updated: 2025-08-14 13:56 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

BenTowali commented on 2025-08-17 18:58 (UTC) (edited on 2025-08-17 19:01 (UTC) by BenTowali)

Please update version

diff --git a/.SRCINFO b/.SRCINFO
index 75c7e67..0b7e6c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
 pkgbase = spicetify-cli
    pkgdesc = Command-line tool to customize Spotify client
-   pkgver = 2.40.13
+   pkgver = 2.41.0
    pkgrel = 1
    url = https://github.com/spicetify/cli
    arch = x86_64
    arch = i686
    license = LGPL-2.1-only
    makedepends = go
         depends = bash
         depends = glibc
    optdepends = xdg-utils: Allows for opening directories in default file manager
-   source = cli-2.40.13.tar.gz::https://github.com/spicetify/cli/archive/v2.40.13.tar.gz
-   sha256sums = 9a77492946b8161758779e424a10398d93eb9e3040a3f03c8947c9dff4b9f0ab
+   source = cli-2.41.0.tar.gz::https://github.com/spicetify/cli/archive/v2.41.0.tar.gz
+   sha256sums = 7a3e6ae327753060fac9fa0686e57b871ef92598752a1314ef0f5b1cde571230

 pkgname = spicetify-cli
diff --git a/PKGBUILD b/PKGBUILD
index 45b2dad..0a8f23d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 ## Maintainer: khanhas <xuankhanh963@gmail.com>, itsmeow <itsmeow@itsmeow.dev>
 pkgname=spicetify-cli
-pkgver=2.40.13
+pkgver=2.41.0
 pkgrel=1
 pkgdesc='Command-line tool to customize Spotify client'
 arch=('x86_64' 'i686')
@@ -10,7 +10,7 @@ makedepends=('go')
 depends=('glibc' 'bash')
 optdepends=('xdg-utils: Allows for opening directories in default file manager')
 source=("cli-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('9a77492946b8161758779e424a10398d93eb9e3040a3f03c8947c9dff4b9f0ab')
+sha256sums=('7a3e6ae327753060fac9fa0686e57b871ef92598752a1314ef0f5b1cde571230')


 build() {

crimist commented on 2024-09-27 21:10 (UTC)

Latest release fixed things for me. Thanks.

itsmeowdev commented on 2024-09-27 20:48 (UTC)

Try the new release.

warpje commented on 2024-09-27 20:39 (UTC)

yep it sadly just doesn't work atm, i have very same problem - blank screen, github maintainer just basically said gtfo, we have nothing common with aur package ^^

909oce commented on 2024-09-27 20:19 (UTC)

running spicetify apply makes spotify have a blank screen for me, regardless of any themes/extensions/etc. looking at their github they seem to be blaming the AUR package for it and refuse to look into it so just putting a heads up comment here. i dont know whos fault it is, dont take this as me blaming you

NyaomiDEV commented on 2024-09-27 19:48 (UTC) (edited on 2024-09-27 19:48 (UTC) by NyaomiDEV)

spicetify-cli 2.38.4-1 makes Spotify hang on startup.

HurricanePootis commented on 2024-09-25 16:46 (UTC)

Hey, I am back again to tell about your package's problems: 1. Does not have an SPDX license() 2. Does not list glibc and bash as depends(). 3. Does not pass the flags in /etc/makepkg.conf by following the Go packaging guidlines 4. Has a binary in /usr/share, which a quick namcap would have told you it's wrong (spicetify-cli E: ELF file ('usr/share/spicetify-cli/spicetify') outside of a valid path.)

I have put again, another patch. Hopefully this will be the last.

diff --git a/PKGBUILD b/PKGBUILD
index 72ba50d..fe94403 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,16 +5,23 @@ pkgrel=1
 pkgdesc='Command-line tool to customize Spotify client'
 arch=('x86_64' 'i686')
 url='https://github.com/spicetify/cli'
-license=('LGPL2.1')
+license=('LGPL-2.1-only')
 makedepends=('go')
+depends=('glibc' 'bash')
 optdepends=('xdg-utils: Allows for opening directories in default file manager')
 source=("cli-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
 sha256sums=('0a5315940f2d193a3c22ccf6e244ad1917c87a1a3c6f00462b7deb5333d24a0c')

+
 build() {
   cd "cli-$pkgver"
   export GO111MODULE="auto"
   export GOPATH="$srcdir"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
   go build -ldflags="-X 'main.version=$pkgver'" -o spicetify
 }

@@ -25,11 +32,13 @@ check() {

 package() {
   cd cli-$pkgver
-  install -Dm755 ./spicetify "$pkgdir"/usr/share/$pkgname/spicetify
+  install -Dm755 ./spicetify "$pkgdir"/usr/lib/$pkgname/spicetify
+  install -dm755 "$pkgdir/usr/share/$pkgname/"
   cp -r ./Themes ./Extensions ./CustomApps ./jsHelper ./globals.d.ts ./css-map.json "$pkgdir"/usr/share/$pkgname
+  ln -s "/usr/lib/$pkgname/spicetify" "$pkgdir/usr/share/$pkgname/spicetify"

   rm -f ./shortcut
-  echo "#!/bin/sh
+  echo "#!/usr/bin/env sh
 /usr/share/$pkgname/spicetify \"\$@\"" >> ./shortcut

   install -Dm755 ./shortcut "$pkgdir"/usr/bin/spicetify

HurricanePootis commented on 2024-06-03 22:28 (UTC)

Hey, this package has some few issues that I think should be fixed.

  1. Does not have an SDPX compliant license
  2. Does not set the Go flags as discussed here
  3. Installs a binary to /usr/share/spicetify-cli/, which is improper, as any executables should either go into /usr/bin or /usr/lib/. /usr/lib should be used here as the binary needs to find other files, which has also been moved to /usr/lib

Here is the patch file for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index fdbf88a..dd72b8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,9 @@ pkgrel=1
 pkgdesc='Command-line tool to customize Spotify client'
 arch=('x86_64' 'i686')
 url='https://github.com/spicetify/cli'
-license=('LGPL2.1')
+license=('LGPL-2.1-only')
 makedepends=('go')
+depends=('bash' 'glibc')
 optdepends=('xdg-utils: Allows for opening directories in default file manager')
 source=("cli-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
 sha256sums=('dfaa968ade8359124cc8f59bd39b00be68a551fedbe95e1d7f79543c5141cc25')
@@ -15,6 +16,11 @@ build() {
   cd "cli-$pkgver"
   export GO111MODULE="auto"
   export GOPATH="$srcdir"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
   go build -ldflags="-X 'main.version=$pkgver'" -o spicetify
 }

@@ -25,12 +31,12 @@ check() {

 package() {
   cd cli-$pkgver
-  install -Dm755 ./spicetify "$pkgdir"/usr/share/$pkgname/spicetify
-  cp -r ./Themes ./Extensions ./CustomApps ./jsHelper ./globals.d.ts ./css-map.json "$pkgdir"/usr/share/$pkgname
+  install -Dm755 ./spicetify "$pkgdir"/usr/lib/$pkgname/spicetify
+  cp -r ./Themes ./Extensions ./CustomApps ./jsHelper ./globals.d.ts ./css-map.json "$pkgdir"/usr/lib/$pkgname

   rm -f ./shortcut
   echo "#!/bin/sh
-/usr/share/$pkgname/spicetify \"\$@\"" >> ./shortcut
+/usr/lib/$pkgname/spicetify \"\$@\"" >> ./shortcut

   install -Dm755 ./shortcut "$pkgdir"/usr/bin/spicetify

itsmeowdev commented on 2024-05-26 04:02 (UTC)

Hash should be fixed now. They changed the repo name without telling me in advance lol

falzo commented on 2024-05-24 09:33 (UTC)

Same issue:

==> Validating source files with sha256sums...
    spicetify-cli-2.36.11.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!