diff options
-rw-r--r-- | app-shells/gentoo-bashcomp/ChangeLog | 8 | ||||
-rw-r--r-- | app-shells/gentoo-bashcomp/gentoo-bashcomp-20080521.ebuild | 29 |
2 files changed, 36 insertions, 1 deletions
diff --git a/app-shells/gentoo-bashcomp/ChangeLog b/app-shells/gentoo-bashcomp/ChangeLog index 4b07ea8ce5c2..d43536a455ad 100644 --- a/app-shells/gentoo-bashcomp/ChangeLog +++ b/app-shells/gentoo-bashcomp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-shells/gentoo-bashcomp # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-bashcomp/ChangeLog,v 1.19 2008/05/04 12:20:46 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-bashcomp/ChangeLog,v 1.20 2008/05/21 19:00:17 nyhm Exp $ + +*gentoo-bashcomp-20080521 (21 May 2008) + + 21 May 2008; Tristan Heaven <nyhm@gentoo.org> + +gentoo-bashcomp-20080521.ebuild: + Version bump 04 May 2008; Peter Volkov <pva@gentoo.org> gentoo-bashcomp-20050516.ebuild: diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20080521.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20080521.ebuild new file mode 100644 index 000000000000..be497f99d128 --- /dev/null +++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20080521.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-bashcomp/gentoo-bashcomp-20080521.ebuild,v 1.1 2008/05/21 19:00:17 nyhm Exp $ + +DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND="app-shells/bash-completion" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS TODO +} + +pkg_postinst() { + local g="${ROOT}/etc/bash_completion.d/gentoo" + if [[ -e "${g}" && ! -L "${g}" ]] ; then + echo + ewarn "The gentoo completion functions have moved to /usr/share/bash-completion." + ewarn "Please run etc-update to replace /etc/bash_completion.d/gentoo with a symlink." + echo + fi +} |