From d4555c5dc8981ed5fb92e62c0efb88d7e04f2190 Mon Sep 17 00:00:00 2001 From: bugcrazy Date: Fri, 23 Aug 2024 19:24:40 -0300 Subject: [PATCH] oils: renamed old names --- srcpkgs/{oil => oils}/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename srcpkgs/{oil => oils}/template (83%) diff --git a/srcpkgs/oil/template b/srcpkgs/oils/template similarity index 83% rename from srcpkgs/oil/template rename to srcpkgs/oils/template index c1a9bd148a279d..252b161fa7fadc 100644 --- a/srcpkgs/oil/template +++ b/srcpkgs/oils/template @@ -1,5 +1,5 @@ -# Template file for 'oil' -pkgname=oil +# Template file for 'oils' +pkgname=oils version=0.22.0 revision=1 build_style=configure @@ -12,7 +12,8 @@ license="Apache-2.0" homepage="https://www.oilshell.org" distfiles="https://www.oilshell.org/download/oil-${version}.tar.xz" checksum=452e7fd428b686aa752cfeb9be2b94f9fcf7ba9ab22e0ae570a87cdcf782242e -register_shell="/usr/bin/osh /usr/bin/oil" +replaces="oil<=0.23.0" +register_shell="/usr/bin/osh /usr/bin/ysh" nocross="Build systems gets confused with host and cross toolchains/headers" nostrip=yes @@ -28,8 +29,8 @@ do_install() { # Install binaries vbin _bin/oil.ovm vman doc/osh.1 - # Symlink osh, oil to oil.ovm. + # Symlink osh, ysh to oil.ovm. cd "${DESTDIR}"/usr/bin ln -s oil.ovm osh - ln -s oil.ovm oil + ln -s oil.ovm ysh }