summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-01-16 19:04:01 +0100
committerKarel Kočí <cynerd@email.cz>2022-01-16 19:04:01 +0100
commit31790ea612d0d1650c1f04e8f4d9a579e38aff86 (patch)
tree456ade49e47440eed1748a04128b8df94acdfac9
parentdf0d71301ee432b014dda7668543f0effe51f9de (diff)
downloadgentoo-personal-overlay-31790ea612d0d1650c1f04e8f4d9a579e38aff86.tar.gz
gentoo-personal-overlay-31790ea612d0d1650c1f04e8f4d9a579e38aff86.tar.bz2
gentoo-personal-overlay-31790ea612d0d1650c1f04e8f4d9a579e38aff86.zip
sys-apps/shellrc: fix missing shellrc
-rw-r--r--sys-apps/shellrc/shellrc-0.9.0-r1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/shellrc/shellrc-0.9.0-r1.ebuild b/sys-apps/shellrc/shellrc-0.9.0-r1.ebuild
new file mode 100644
index 0000000..797f588
--- /dev/null
+++ b/sys-apps/shellrc/shellrc-0.9.0-r1.ebuild
@@ -0,0 +1,28 @@
+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 xorg +zsh +bash"
+
+DEPEND="
+ zsh? ( app-shells/zsh )
+ bash? ( app-shells/bash )
+ desktop? ( sys-fs/inotify-tools net-misc/vde )
+ xorg? ( x11-misc/xclip media-gfx/imagemagick )
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ local args=""
+ use bash && args="$args --bash" || true
+ use zsh && args="$args --zsh" || true
+ use desktop && args="$args --desktop" || true
+ # TODO xorg
+
+ "${S}/install" --prefix "${D}" $args
+}