app-shells/powerline-go - 1.25 (guru)

Search

Install

Install this version:

emerge -a =app-shells/powerline-go-1.25

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-shells/powerline-go-1.25

Or alternatively:

emerge --autounmask-write -a =app-shells/powerline-go-1.25

Package Information

Description:
A powerline like prompt for Bash, Zsh, Fish written in Go lang.
Homepage:
https://github.com/justjanne/powerline-go
License:
GPL-3 MIT Apache-2.0 BSD

Ebuild Details

Version EAPI Keywords Slot
1.25 8 ~amd64 ~arm ~arm64 0
View Raw Ebuild
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A powerline like prompt for Bash, Zsh, Fish written in Go lang."
HOMEPAGE="https://github.com/justjanne/powerline-go"
SRC_URI="https://github.com/justjanne/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/Tapchicoma/ebuild-deps/raw/refs/heads/main/go-deps/${PN}-${PV}-deps.tar.xz"

LICENSE="GPL-3 MIT Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"

DOCS=(README.md)

src_compile() {
	go build -o release/powerline-go . || die
}

src_install() {
	dobin release/powerline-go
	einstalldocs
}

pkg_postinst() {
	elog 'Check installed documentation to how-to add this to the shell prompt'
}

Inherited Eclasses

Manifest for 1.25

Type File Size Source URLs
DIST powerline-go-1.25-deps.tar.xz 26569268 bytes https://github.com/Tapchicoma/ebuild-deps/raw/refs/heads/main/go-deps/powerline-go-1.25-deps.tar.xz
DIST powerline-go-1.25.tar.gz 141368 bytes https://github.com/justjanne/powerline-go/archive/v1.25.tar.gz