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 71% rename from srcpkgs/oil/template rename to srcpkgs/oils/template index c1a9bd148a279d..cfc1bf0c1807f4 100644 --- a/srcpkgs/oil/template +++ b/srcpkgs/oils/template @@ -1,18 +1,19 @@ -# Template file for 'oil' -pkgname=oil +# Template file for 'oils' +pkgname=oils version=0.22.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" +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,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" }