diff options
author | Karel Kočí <cynerd@email.cz> | 2018-06-15 16:41:11 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-06-15 16:41:11 +0200 |
commit | 508bdde004ccdfc2d5045d9e5de0a9f15ca728e1 (patch) | |
tree | a12d6de5e3a206eb45d73dc234afc48e7ec571a5 /sys-apps/shellrc/shellrc-0.4-r1.ebuild | |
parent | 310823a7bd2304ec5cbdaecc1e664f41769e3421 (diff) | |
download | gentoo-personal-overlay-508bdde004ccdfc2d5045d9e5de0a9f15ca728e1.tar.gz gentoo-personal-overlay-508bdde004ccdfc2d5045d9e5de0a9f15ca728e1.tar.bz2 gentoo-personal-overlay-508bdde004ccdfc2d5045d9e5de0a9f15ca728e1.zip |
sys-app/shellrc: update to version 0.4
Use install script
Diffstat (limited to 'sys-apps/shellrc/shellrc-0.4-r1.ebuild')
-rw-r--r-- | sys-apps/shellrc/shellrc-0.4-r1.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/shellrc/shellrc-0.4-r1.ebuild b/sys-apps/shellrc/shellrc-0.4-r1.ebuild new file mode 100644 index 0000000..47c193c --- /dev/null +++ b/sys-apps/shellrc/shellrc-0.4-r1.ebuild @@ -0,0 +1,25 @@ +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() { + local args="" + use bash && args="$args --bash" || true + use zsh && args="$args --zsh" || true + # TODO desktop + + "${S}/install" --prefix "${D}" $args +} |