organize the repo

remove unused files
create config file
update dotfiles
update ebuild
This commit is contained in:
Martinez 2015-12-26 16:00:20 +01:00
parent 1c38428f6b
commit 10345f6e3a
13 changed files with 178 additions and 975 deletions

View file

@ -0,0 +1,43 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit git-2
DESCRIPTION="A nonintrusive zsh prompt that provides useful data like pwd, git info and system stats to the user."
HOMEPAGE="https://git.covalent.cz/overwatch/over-prompt"
SRC_URI=""
EGIT_REPO_URI="https://git.covalent.cz/overwatch/over-prompt.git"
LICENSE="AOJSL"
SLOT="0"
KEYWORDS="x86 amd64"
src_compile() {
ewarn "This is a prototype written in Python. Expect lower performance."
#g++ -ansi -Wall -o data data.cpp
}
src_install() {
insopts -m755
insinto /usr/share/libexec/
newexe libexec/render.py ${PN}.py
insinto /usr/share/${PN}/
doexe share/zsh-init
insinto /etc/${PN}/
doins cfg/main.cfg
insinto /usr/share/i18n/locales/
doins locale/en_OV
}
pkg_postinst() {
einfo "Source /usr/share/${PN}/zsh-init to enable the prompt."
einfo "The config file is in /etc/${PN}/."
}