Package Details: zsh-theme-powerlevel10k-git r2070.5e72d3c-1

Git Clone URL: https://aur.archlinux.org/zsh-theme-powerlevel10k-git.git (read-only)
Package Base: zsh-theme-powerlevel10k-git
Description: Powerlevel10k is a theme for ZSH. It's a backward-compatible fork of Powerlevel9k with lower latency and better prompt responsiveness
Upstream URL: https://github.com/romkatv/powerlevel10k
Licenses: MIT
Conflicts: zsh-theme-powerlevel10k, zsh-theme-powerlevel9k-git
Provides: zsh-theme-powerlevel10k
Submitter: madscience
Maintainer: madscience
Last Packager: madscience
Votes: 3
Popularity: 1.297252
First Submitted: 2019-03-10 00:06
Last Updated: 2019-06-01 23:05

Dependencies (14)

Required by (0)

Sources (1)

Pinned Comments

madscience commented on 2019-03-10 03:02

To start, add the following to your .zshrc:

source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme

See https://github.com/romkatv/powerlevel10k/#configuration for configuration options.

Latest Comments

1 2 Next › Last »

francoism90 commented on 2019-07-06 07:49

Thanks for providing this package. :)

madscience commented on 2019-04-10 12:24

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

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

@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

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

@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

Please try building again, I've updated the PKGBUILD

gavsiu commented on 2019-03-18 16:38

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.

madscience commented on 2019-03-18 16:29

What AUR helper are you using? Do you get the same error when using makepkg?

EDIT: I think I fixed the pkgver issue. Please try installing again

stepovic commented on 2019-03-18 16:16

Got the same error as markoff.