From b9ea44e3cba5c45d782468beaecfd5373dfb5c05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 26 Jan 2018 15:45:26 +0100 Subject: Move zshrc in shellrc package --- sys-apps/shellrc/shellrc-0.1-r1.ebuild | 42 ---------------------------------- sys-apps/shellrc/shellrc-0.1-r2.ebuild | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 42 deletions(-) delete mode 100644 sys-apps/shellrc/shellrc-0.1-r1.ebuild create mode 100644 sys-apps/shellrc/shellrc-0.1-r2.ebuild diff --git a/sys-apps/shellrc/shellrc-0.1-r1.ebuild b/sys-apps/shellrc/shellrc-0.1-r1.ebuild deleted file mode 100644 index 06d8970..0000000 --- a/sys-apps/shellrc/shellrc-0.1-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -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 -} diff --git a/sys-apps/shellrc/shellrc-0.1-r2.ebuild b/sys-apps/shellrc/shellrc-0.1-r2.ebuild new file mode 100644 index 0000000..9f32ce6 --- /dev/null +++ b/sys-apps/shellrc/shellrc-0.1-r2.ebuild @@ -0,0 +1,41 @@ +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/zsh + doins "${S}/zshrc" + doins -r "${S}/zshrc.d" + dodir /usr/share/zsh/site-functions + insinto /usr/share/zsh/site-functions + doins -r "${S}"/zsh-completion/* + fi +} -- cgit v1.2.3