Package Details: spicetify-themes-git r424.17d0670-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/morpheusthewhite/spicetify-themes
Keywords: customization spicetify spotify unixporn
Licenses: MIT
Conflicts: spicetify-themes
Provides: spicetify-themes
Submitter: morpheusthewhite
Maintainer: morpheusthewhite
Last Packager: morpheusthewhite
Votes: 7
Popularity: 2.11
First Submitted: 2019-09-04 13:03
Last Updated: 2020-08-31 20:01

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

morpheusthewhite commented on 2020-08-31 20:03

@ibrokemypie now your PKGBUILD works correctly on my machine (I can't remember the previous error, but was related to the version): I just pushed it. Thank you for your suggestion

ibrokemypie commented on 2020-08-30 05:33

actually, just changing the cd "$srcdir" in the pkgver function to cd "$pkgname" works

ibrokemypie commented on 2020-08-30 03:33

@morpheusthewhite what exactly was wrong with the pkgver fucntion? I took it from the arch wiki wage here: https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver()_function The current function doesnt actually produce a version, jist r.-1 every time, meaning the package is never actually rebuilt because the pkgver function reports the same version, meaning it never actually updates, you can see the output here:

==> Extracting sources...
  -> Creating working copy of spicetify-themes-git git repo...
Cloning into 'spicetify-themes-git'...
done.
==> Starting pkgver()...
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> Updated version: spicetify-themes-git r.-1
==> Sources are ready.
==> Making package: spicetify-themes-git r.-1 (Sun 30 Aug 2020 13:30:13)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> Sources are ready.
 -> spicetify-themes-git-r.-1 already made -- skipping build
 -> Found git repo: github.com/morpheusthewhite/spicetify-themes
loading packages...
warning: spicetify-themes-git-r.-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)           Old Version  New Version  Net Change

spicetify-themes-git  r.-1         r.-1           0.00 MiB

morpheusthewhite commented on 2020-08-18 06:35

@ibrokemypie I updated the PKGBUILD not to use the master archive anymore but I didn't changed the pkgver() since the one you provided doesn't work. Thank you for your help

ibrokemypie commented on 2020-08-14 07:14

Currently the pkgver function doesn't work correctly, this is partly due to downloading the master archive rather than using git? Ive made some changes to the PKGBUILD file below which fix the problem and also uses git to download the source following the guidelines set out by the arch wiki https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

# Maintainer: morpheusthewhite <zffromGerace@hotmail.it>

pkgname=spicetify-themes-git
pkgver=r397.02feea4
pkgrel=1
pkgdesc="A community-driven collection of themes for spicetify"
arch=('any')
url="https://github.com/morpheusthewhite/spicetify-themes"
license=('MIT')
groups=()
depends=('spicetify-cli')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=spicetify-themes-git.install
source=("$pkgname"::"git+https://github.com/morpheusthewhite/spicetify-themes")
noextract=()
md5sums=('SKIP')

pkgver() {
    cd "$pkgname"
    ( set -o pipefail
      git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
      printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    )
}

package() {
    mkdir -p "${pkgdir}"/usr/share/spicetify-cli/Extensions

    cp -R "$srcdir/${pkgname}" "${pkgdir}"/usr/share/spicetify-cli/Themes
    rm -r "${pkgdir}"/usr/share/spicetify-cli/Themes/README.md "${pkgdir}"/usr/share/spicetify-cli/Themes/LICENSE

    # for Dribbblish theme
    cp -R "$srcdir/${pkgname}/Dribbblish/dribbblish.js" "${pkgdir}"/usr/share/spicetify-cli/Extensions/dribbblish.js
}

it would be great if you could update the pkgbuild for the package as such to fix updating (currently package managers will always try to update the package, but the build package has the same name and broken version as the currently installed package, so updates aren't actually installed)

Donald4444 commented on 2020-07-11 22:28

@morpheusthewhite Thank you. I alredy fixed it by manually doing the commands and only used this to get the Themes :D

morpheusthewhite commented on 2020-07-09 20:18

If you find problems with Dribblish theme, beware: even when if you install this packet you need to follow instructions in its README to apply it.

morpheusthewhite commented on 2020-07-09 20:16

@matthaigh it is not necessary, there is a pkkgver() function delegated of fetching the latest package version. Anyway I also updated pkgver variable, even if not necessary

morpheusthewhite commented on 2020-07-09 20:13

@Donald4444 try to give a look here. It is an error generated by spicetify-cli, so make sure it works properly and then try to install again this packet

matthaigh27 commented on 2020-07-08 23:20

Not sure if this is what you're going for but if you change source=("${pkgname}-${pkgver}.tar.gz::https://github.com/morpheusthewhite/spicetify-themes/archive/master.tar.gz") to source=("https://github.com/morpheusthewhite/spicetify-themes/archive/master.tar.gz")

It installs the most up to date version of the git repo.