blob: 58915b7b2fa5f39f4f91b6a262f7ac69170ede71 (
plain)
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
|
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 )
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
# TODO desktop and xorg
"${S}/install" --prefix "${D}" $args
}
|