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: 71
Popularity: 1.97
First Submitted: 2019-03-10 00:06 (UTC)
Last Updated: 2021-08-18 14:58 (UTC)

Dependencies (8)

Required by (2)

Sources (1)

Latest Comments

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

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

madscience commented on 2019-03-18 16:50 (UTC)

Please try building again, I've updated the PKGBUILD

gavsiu commented on 2019-03-18 16:38 (UTC) (edited on 2019-03-18 18:14 (UTC) by gavsiu)

aurman:

[trimmed] Cloning into 'powerlevel10k'... done. ==> Starting pkgver()... fatal: No names found, cannot describe anything. ==> ERROR: pkgver is not allowed to be empty. ==> ERROR: pkgver() generated an invalid version: 2019-03-18 09:29:27,704 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/gavsiu/.cache/aurman/zsh-theme-powerlevel10k-git

makepkg -si:

makepkg -si ==> Making package: zsh-theme-powerlevel10k-git v0.6.6.r254.g6e7ba25-1 (Mon 18 Mar 2019 09:33:11 AM PDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning powerlevel10k git repo... Cloning into bare repository '/home/gavsiu/.aur/zsh-theme-powerlevel10k-git/powerlevel10k'... remote: Enumerating objects: 60, done. remote: Counting objects: 100% (60/60), done. remote: Compressing objects: 100% (41/41), done. remote: Total 6580 (delta 31), reused 38 (delta 19), pack-reused 6520 Receiving objects: 100% (6580/6580), 13.75 MiB | 9.14 MiB/s, done. Resolving deltas: 100% (4102/4102), done. ==> Validating source files with sha256sums... powerlevel10k ... Skipped ==> Extracting sources... -> Creating working copy of powerlevel10k git repo... Cloning into 'powerlevel10k'... done. ==> Starting pkgver()... fatal: No names found, cannot describe anything. ==> ERROR: pkgver is not allowed to be empty. ==> ERROR: pkgver() generated an invalid version:

Uhh.. how do you format on here? There are no instructions.