From 1ee3b8672d8b12b4b386868325e1a1afaeb78d28 Mon Sep 17 00:00:00 2001 From: Shin'ya Minazuki Date: Sat, 25 Jul 2026 22:23:22 -0300 Subject: [PATCH] Add app-shells/oils-for-unix Signed-off-by: Shin'ya Minazuki --- app-shells/oils-for-unix/Manifest | 1 + app-shells/oils-for-unix/metadata.xml | 14 ++++++++ .../oils-for-unix/oils-for-unix-0.37.0.ebuild | 32 +++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 app-shells/oils-for-unix/Manifest create mode 100644 app-shells/oils-for-unix/metadata.xml create mode 100644 app-shells/oils-for-unix/oils-for-unix-0.37.0.ebuild diff --git a/app-shells/oils-for-unix/Manifest b/app-shells/oils-for-unix/Manifest new file mode 100644 index 0000000..121f41d --- /dev/null +++ b/app-shells/oils-for-unix/Manifest @@ -0,0 +1 @@ +DIST oils-for-unix-0.37.0.tar.gz 873449 BLAKE2B 6cd257bcaee463d4a9d1416d560a67cccd44367461095fc39fd7405c9e348dcb0c83be5d5df2bd92729b92198c34b31a7f47523d82dc24000e0c42bd628c5e0e SHA512 481ba47c8377772e83f3198666cbd7276d29a3501d1f2e40902af38f55831c7a6d6b8765d1bd3d168dfa890a607a64c962b7c7c6928e8fcc852301b9677edd91 diff --git a/app-shells/oils-for-unix/metadata.xml b/app-shells/oils-for-unix/metadata.xml new file mode 100644 index 0000000..32a8c01 --- /dev/null +++ b/app-shells/oils-for-unix/metadata.xml @@ -0,0 +1,14 @@ + + + + + shinyoukai@chaotic.ninja + Shin'ya Minazuki + + + oils-for-unix/oils + + + Enable support for GNU Readline + + diff --git a/app-shells/oils-for-unix/oils-for-unix-0.37.0.ebuild b/app-shells/oils-for-unix/oils-for-unix-0.37.0.ebuild new file mode 100644 index 0000000..a006c22 --- /dev/null +++ b/app-shells/oils-for-unix/oils-for-unix-0.37.0.ebuild @@ -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 +}