From db3fb66674865a3292802a62abc2af60b2f40bb0 Mon Sep 17 00:00:00 2001 From: bugcrazy Date: Mon, 26 Aug 2024 06:52:53 -0300 Subject: [PATCH] oils: renamed old names and update --- srcpkgs/oil | 1 + srcpkgs/{oil => oils}/template | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/oil rename srcpkgs/{oil => oils}/template (63%) diff --git a/srcpkgs/oil b/srcpkgs/oil new file mode 120000 index 00000000000000..fd2981096626b0 --- /dev/null +++ b/srcpkgs/oil @@ -0,0 +1 @@ +oils \ No newline at end of file diff --git a/srcpkgs/oil/template b/srcpkgs/oils/template similarity index 63% rename from srcpkgs/oil/template rename to srcpkgs/oils/template index c1a9bd148a279d..8d0ff45223b0e8 100644 --- a/srcpkgs/oil/template +++ b/srcpkgs/oils/template @@ -1,18 +1,19 @@ -# Template file for 'oil' -pkgname=oil -version=0.22.0 +# Template file for 'oils' +pkgname=oils +version=0.23.0 revision=1 build_style=configure configure_args="--prefix=/usr" hostmakedepends="$(vopt_if readline readline-devel)" makedepends="$hostmakedepends" -short_desc="Oil, a new unix shell" +short_desc="Oils, a new unix shell" maintainer="MarcoAPC " 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" +checksum=7fdc680e1afb5a110e5f87b4b93a8d3b0f3be0146c515c6ef1a3d01a9aada99c +replaces="oil<=0.24.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,14 @@ 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 +} + +oil_package() { + build_style=meta + depends="${sourcepkg}" + short_desc+=" - transitional dummy package" }