Package Details: spicetify-themes-git r511.82e14ab-1

Git Clone URL: https://aur.archlinux.org/spicetify-themes-git.git (read-only, click to copy)
Package Base: spicetify-themes-git
Description: A community-driven collection of themes for spicetify
Upstream URL: https://github.com/spicetify/spicetify-themes
Keywords: customization spicetify spotify unixporn
Licenses: MIT
Conflicts: spicetify-themes
Provides: spicetify-themes
Submitter: morpheusthewhite
Maintainer: strat
Last Packager: strat
Votes: 23
Popularity: 1.46
First Submitted: 2019-09-04 13:03 (UTC)
Last Updated: 2025-06-27 02:58 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

strat commented on 2025-06-27 03:04 (UTC)

Thank you for the clarification, every bit helps a ton. Also your original post was a very helpful place to start from so thank you for that too. 😁

ZhangHua commented on 2025-06-26 01:29 (UTC)

Ah, I was not noticed about those assets, they do need to avoid being cleaned up. This is my mistake.

As for moving spicetify-cli, according to https://wiki.archlinux.org/title/PKGBUILD#depends, moving to package() is acceptable because it does not needed when building those themes.

strat commented on 2025-06-25 14:11 (UTC)

I had to add the extensions of some other files to, woff2 and svg, because they were also needed as assets but it got the install size down from 27.98 MiB to 0.46 MiB!

Also I'm not sure if moving the dependency for spicetify-cli would be correct since the theme requires it to be of any use, thought I am very new at this so please correct me if I'm wrong.

ZhangHua commented on 2025-06-25 08:32 (UTC)

Use this code as package() should be a robust way to clean useless files:

    mkdir -p "$pkgdir/opt/spicetify-cli"
    cp -r --no-preserve=ownership "$srcdir/spicetify-themes" "$pkgdir/opt/spicetify-cli/Themes"

    echo "Removing useless files in each theme..."
    find "$pkgdir/opt/spicetify-cli/Themes" -mindepth 2 ! -name "color.ini" ! -name "user.css" ! -name "theme.js" -exec rm -rfv {} +
    echo "Removing useless files at top level..."
    find "$pkgdir/opt/spicetify-cli/Themes" -maxdepth 1 \( -name ".*" -o -name "_*" -o -type f \) -exec rm -rfv {} +

What's more, I suggest setting depends=(spicetify-cli) in package() instead, this will allow us building this package without spicetify-cli installed. Actually, we do really not require spicetify-cli during building, right?

strat commented on 2025-06-25 00:50 (UTC)

Thanks for the input @ZhangHua and @shtrophic. Also I'm picking up this package since it was orphaned.

ZhangHua commented on 2024-09-28 06:44 (UTC)

Please move your themes to /opt/spicetify-cli/Themes as spicetify-cli moved itself to /opt/spicetify-cli since 2.38.4-2

shtrophic commented on 2023-08-30 11:13 (UTC)

I am pretty sure all the .png-files are not necessary to for the themes to work, what about just running find $pkgdir -name '*.png' -delete before installing?

ZhangHua commented on 2023-04-30 05:29 (UTC)

@eeeXun The simplest solution is removing $HOME/.cache/paru/clone/spicetify-themes-git and rebuild the package.

eeeXun commented on 2023-04-29 13:39 (UTC) (edited on 2023-04-29 13:40 (UTC) by eeeXun)

After updating, I got the error (I'm using paru)

fetching devel info...
==> Making package: spicetify-themes-git r404.4f10f4f-1 (Sat 29 Apr 2023 09:36:37 PM CST)
==> Retrieving sources...
==> ERROR: /home/xun/.cache/paru/clone/spicetify-themes-git/spicetify-themes-git is not a clone of https://github.com/spicetify/spicetify-themes
    Aborting...
error: failed to download sources for 'spicetify-themes-git-r404.4f10f4f-1':
error: packages failed to build: spicetify-themes-git-r404.4f10f4f-1

morpheusthewhite commented on 2023-04-27 19:50 (UTC)

Sorry for being inactive recently. I updated the package, please try again

@pflakus Thank you for the patch