Add app-shells/oils-for-unix

Signed-off-by: Shin'ya Minazuki <shinyoukai@chaotic.ninja>
This commit is contained in:
Shin'ya Minazuki 2026-07-25 22:23:22 -03:00
commit 1ee3b8672d
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST oils-for-unix-0.37.0.tar.gz 873449 BLAKE2B 6cd257bcaee463d4a9d1416d560a67cccd44367461095fc39fd7405c9e348dcb0c83be5d5df2bd92729b92198c34b31a7f47523d82dc24000e0c42bd628c5e0e SHA512 481ba47c8377772e83f3198666cbd7276d29a3501d1f2e40902af38f55831c7a6d6b8765d1bd3d168dfa890a607a64c962b7c7c6928e8fcc852301b9677edd91

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>shinyoukai@chaotic.ninja</email>
<name>Shin'ya Minazuki</name>
</maintainer>
<upstream>
<remote-id type="github">oils-for-unix/oils</remote-id>
</upstream>
<use>
<flag name="readline">Enable support for GNU Readline</flag>
</use>
</pkgmetadata>

View file

@ -0,0 +1,32 @@
# 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
}