Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add app-portage/ibashrc Portage's intelligent bashrc https://github.c…

  • Loading branch information...
commit dbf80faadd4635cefb48b9ea5e138d15e815fa8b 1 parent 740968d
@init6 authored
Showing with 34 additions and 0 deletions.
  1. +1 −0  README.md
  2. +33 −0 app-portage/ibashrc/ibashrc-9999.ebuild
View
1  README.md
@@ -27,6 +27,7 @@ In this overlay you will find
* [app-admin/perl-cleaner](https://github.com/init6/init_6/tree/master/app-admin/perl-cleaner) my fix of [bug #373219](https://bugs.gentoo.org/show_bug.cgi?id=373219)
* [app-admin/python-updater](https://github.com/init6/init_6/tree/master/app-admin/python-updater) my fix of [bug #373219](https://bugs.gentoo.org/show_bug.cgi?id=373219)
* [app-portage/gentoolkit](https://github.com/init6/init_6/tree/master/app-portage/gentoolkit) my fix of [bug #373219](https://bugs.gentoo.org/show_bug.cgi?id=373219)
+ * [app-portage/ibashrc](https://github.com/init6/ibashrc) Portage's intelligent bashrc.
* [app-portage/udept](https://github.com/init6/init_6/tree/master/app-portage/udept) is a collection of Portage scripts, maintenance tools and analysis tools, written in bash and powered by the dep engine
* [dev-libs/shflags](https://github.com/init6/init_6/tree/master/dev-libs/shflags) Simplified handling of command-line flags in Bourne based shells
* [dev-vcs/git-flow-completion](https://github.com/init6/init_6/tree/master/dev-vcs/git-flow-completion) git flow completion for bash and zsh
View
33 app-portage/ibashrc/ibashrc-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2009-2014 Andrey Ovcharov <sudormrfhalt@gmail.com>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit git-2
+
+DESCRIPTION="Portage's intelligent bashrc."
+HOMEPAGE="https://github.com/init6/ibashrc"
+
+EGIT_REPO_URI="https://github.com/init6/ibashrc.git"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_install() {
+ test -d "${D}/etc/portage" >/dev/null 2>&1 && cd "${D}/etc/portage" || mkdir -p "${D}/etc/portage"; cd "${D}/etc/portage"
+ cp "${S}/bashrc" "${D}/etc/portage/ibashrc" || die
+}
+
+pkg_postinst() {
+ echo
+ einfo
+ einfo "In order to enable ibashrc go to /etc/portage and do:"
+ einfo "ln -s ibashrc bashrc"
+ einfo
+ echo
+}
Please sign in to comment.
Something went wrong with that request. Please try again.