diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-26 15:34:21 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-26 15:34:21 +0100 |
commit | c68c2aab3ffc4ea9019b4ba64cf91b656ae02576 (patch) | |
tree | fca62a90d1f0cf1b251b324aedc251577dd9c9b2 /sys-apps | |
parent | c2b812d383ce570a9fa410db2b89e5d1420173bd (diff) | |
download | gentoo-personal-overlay-c68c2aab3ffc4ea9019b4ba64cf91b656ae02576.tar.gz gentoo-personal-overlay-c68c2aab3ffc4ea9019b4ba64cf91b656ae02576.tar.bz2 gentoo-personal-overlay-c68c2aab3ffc4ea9019b4ba64cf91b656ae02576.zip |
Add shellrc
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/shellrc/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/shellrc/shellrc-0.1-r1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/sys-apps/shellrc/Manifest b/sys-apps/shellrc/Manifest new file mode 100644 index 0000000..fb5a13d --- /dev/null +++ b/sys-apps/shellrc/Manifest @@ -0,0 +1 @@ +DIST shellrc-0.1.tar.gz 3899 SHA256 3e1e651be6b128f33f8e3b2a780328c9ed4ea7f68a84924c0157db3418b85016 SHA512 856fc757fe158a0b06079b1f56f675cd044de4346a79e2f1c1c877b6b79a23eb4d279571b6f111526a442c6619b6c58b028f4a5566328b1481d5a7c3925964a8 WHIRLPOOL b13ba46f45985dca84abcdf9c95d1095cc29da088ce9154d8c7aa767a574bacbb8246bf1e41448dfaeb6b37f81cdb3adcb8453b8ce2633ccd69a7f3b0866a958 diff --git a/sys-apps/shellrc/shellrc-0.1-r1.ebuild b/sys-apps/shellrc/shellrc-0.1-r1.ebuild new file mode 100644 index 0000000..06d8970 --- /dev/null +++ b/sys-apps/shellrc/shellrc-0.1-r1.ebuild @@ -0,0 +1,42 @@ +EAPI=6 + +DESCRIPTION="Shell initialization files" +HOMEPAGE="https://git.cynerd.cz/shellrc/" +SRC_URI="https://git.cynerd.cz/shellrc/snapshot/${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3.0+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="desktop +zsh +bash" + +DEPEND="zsh? ( app-shells/zsh ) + bash? ( app-shells/bash ) + desktop? ( x11-misc/xclip media-gfx/imagemagick ) +" +RDEPEND="${DEPEND}" + +src_install() { + dodir /etc + insinto /etc + doins -r "${S}/shellrc.d" + + if use bash; then + dodir /etc/bash/bashrc.d + insinto /etc/bash + doins -r "${S}/bashrc.d" + dodir /usr/share/bash-completion/completions + insinto /usr/share/bash-completion/completions + doins -r "${S}"/bash-completion/* + fi + + if use zsh; then + dodir /etc/zsh + insinto /etc + doins "${S}/zshrc" + insinto /etc/zsh + doins -r "${S}/zshrc.d" + dodir /usr/share/zsh/site-functions + insinto /usr/share/zsh/site-functions + doins -r "${S}"/zsh-completion/* + fi +} |