-
Notifications
You must be signed in to change notification settings - Fork 179
/
bash-completion-pinyin-20120328.ebuild
36 lines (26 loc) · 1.16 KB
/
bash-completion-pinyin-20120328.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.3.ebuild,v 1.3 2011/03/09 11:55:40 hwoarang Exp $
EAPI=3
inherit prefix
DESCRIPTION="chsdir completion for bash"
HOMEPAGE="http://code.google.com/p/easyscripts/"
SRC_URI="http://easyscripts.googlecode.com/files/chsdir_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
IUSE=""
DEPEND="=dev-lang/python-2*"
RDEPEND="app-admin/eselect
|| ( >=app-shells/bash-3.2 app-shells/zsh )
sys-apps/miscfiles"
PDEPEND="app-shells/gentoo-bashcomp"
src_prepare() { :; } # no-op
src_configure() { :; } # no-op
src_compile() { :; } # no-op
src_install() {
# Gentoo specific bash-completion.sh file.
install -c -D bash-completion-pinyin/chsdir ${D}/usr/bin/chsdir
install -c -D bash-completion-pinyin/chs_completion ${D}/usr/share/bash-completion/chs_completion
}
pkg_postinst() { :; }