Package Details: zsh-theme-powerlevel10k-git r3918.25e5f59-1

Git Clone URL: https://aur.archlinux.org/zsh-theme-powerlevel10k-git.git (read-only, click to copy)
Package Base: zsh-theme-powerlevel10k-git
Description: Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience.
Upstream URL: https://github.com/romkatv/powerlevel10k
Licenses: MIT
Conflicts: zsh-theme-powerlevel10k
Provides: zsh-theme-powerlevel10k
Submitter: madscience
Maintainer: romkatv
Last Packager: romkatv
Votes: 74
Popularity: 0.41
First Submitted: 2019-03-10 00:06 (UTC)
Last Updated: 2021-08-18 14:58 (UTC)

Dependencies (8)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Terence commented on 2019-07-25 12:20 (UTC)

@madscience Shouldn't the pkgrel be bumped after this change?

madscience commented on 2019-07-25 01:16 (UTC)

PKGBUILD is updated.

hotty commented on 2019-07-24 23:05 (UTC) (edited on 2019-07-24 23:14 (UTC) by hotty)

Build fails with the following error message:

==> Starting package()...
install: cannot stat 'functions/*.zsh': No such file or directory
==> ERROR: A failure occurred in package().

Upstream removed the folder "functions" which is why the line

for FILE in functions/*.zsh; do

expands FILE to "functions/*.zsh" which of course does not exists and the next line fails. To prevent this in the future use "shopt -s nullglob" so that FILE will expand to NULL which means it will not enter the do-block.

Or better remove this block completely because it isn't used anymore.

francoism90 commented on 2019-07-06 07:49 (UTC)

Thanks for providing this package. :)

madscience commented on 2019-04-10 12:24 (UTC)

Please redownload the PKGBUILD and try building again. If you're using an AUR helper, clear it's build directory

markoff commented on 2019-04-10 10:04 (UTC)

Dude, same error as before:

==> Starting pkgver()...
fatal: No names found, cannot describe anything.
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version: 
Error making: zsh-theme-powerlevel10k-git

Terence commented on 2019-03-20 02:23 (UTC)

@madscience VCS packages does not need to be updated for new release/commits,they fetch the latest one automatically at build time. Generally, you only update VCS packages when the upstream repo requires a packaging change.

madscience commented on 2019-03-18 17:58 (UTC)

Thanks for the help with pkgbuild(), it seems to be OK now. I misunderstood the VCS packaging guidelines on the wiki.

egrupled commented on 2019-03-18 17:41 (UTC) (edited on 2019-03-18 17:46 (UTC) by egrupled)

@madscience it's still broken - you can't use git describe in a repo which doesn't have any tags. Please use

printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

and be done with this.

Alternatively use:

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)"
  )
}