| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completion/zsh-completion-20091203-r1.ebuild,v 1.4 2011/03/27 21:44:06 darkside Exp $ |
| 4 |
|
| 5 |
MY_PV="20080310" |
| 6 |
DESCRIPTION="Programmable Completion for zsh (includes emerge and ebuild commands)" |
| 7 |
HOMEPAGE="http://gentoo.org" |
| 8 |
SRC_URI="mirror://gentoo/${PN}-${MY_PV}.tar.bz2" |
| 9 |
|
| 10 |
LICENSE="ZSH" |
| 11 |
SLOT="0" |
| 12 |
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris" |
| 13 |
IUSE="" |
| 14 |
|
| 15 |
DEPEND=">=app-shells/zsh-4.3.5" |
| 16 |
RDEPEND="${DEPEND}" |
| 17 |
|
| 18 |
S="${WORKDIR}"/${PN}-${MY_PV} |
| 19 |
|
| 20 |
src_unpack() { |
| 21 |
unpack ${A} |
| 22 |
cd "${S}" |
| 23 |
rm _eix |
| 24 |
} |
| 25 |
|
| 26 |
src_install() { |
| 27 |
insinto /usr/share/zsh/site-functions |
| 28 |
doins _* |
| 29 |
|
| 30 |
dodoc AUTHORS |
| 31 |
} |
| 32 |
|
| 33 |
pkg_postinst() { |
| 34 |
elog |
| 35 |
elog "If you happen to compile your functions, you may need to delete" |
| 36 |
elog "~/.zcompdump{,.zwc} and recompile to make zsh-completion available" |
| 37 |
elog "to your shell." |
| 38 |
elog |
| 39 |
} |