Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37518133
en ru br
Репозитории ALT

Группа :: Интерпретаторы команд
Пакет: powerline-go

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%global _unpackaged_files_terminate_build 1
%global import_path github.com/justjanne/powerline-go

Name: powerline-go
Version: 1.22.1
Release: alt1
Summary: A beautiful and useful low-latency prompt for your shell, written in go

License: GPLv3
Group: Shells
Url: https://github.com/justjanne/powerline-go
Source: %name-%version.tar
Patch: %name-%version.patch

ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang

%description
A Powerline like prompt for Bash, ZSH and Fish.

- Shows some important details about the git/hg branch
- Changes color if the last command exited with a failure code
- If you're too deep into a directory tree, shortens the displayed
  path with an ellipsis
- Shows the current Python virtualenv environment
- It's easy to customize and extend.

%prep
%setup
%patch -p1

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"

%golang_prepare

%golang_build .

%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1

%golang_install

%files
%doc *.md
%_bindir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin