minazuki-overlay/app-shells/oils-for-unix/oils-for-unix-0.37.0.ebuild
Shin'ya Minazuki 1ee3b8672d Add app-shells/oils-for-unix
Signed-off-by: Shin'ya Minazuki <shinyoukai@chaotic.ninja>
2026-07-25 22:23:22 -03:00

32 lines
535 B
Bash

# Copyright 2026 Shin'ya Minazuki
EAPI=8
inherit edo
DESCRIPTION="Our upgrade path from bash to a better language and runtime"
HOMEPAGE="https://oils.pub"
SRC_URI="https://oils.pub/download/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="readline"
RESTRICT="mirror"
src_configure() {
# It's not autotools
# But the switches should be similar enough
edo ./configure \
--prefix=/usr \
$(use_with readline)
}
src_compile() {
edo ./_build/oils.sh
}
src_install() {
export DESTDIR="${D}"
edo ./install
}