From 32d701e821b6df33acdd2207762211a3289a89fd Mon Sep 17 00:00:00 2001 From: AviKav Date: Sun, 5 Sep 2021 16:53:29 -0400 Subject: [PATCH] oil: bring package contents more inline with the project's install script include man page add oil as a command and as a shell remove oshc as the projects's own install script no longer installs it --- srcpkgs/oil/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/oil/template b/srcpkgs/oil/template index 09b496a6d3b1..3c1b5e9a7ebe 100644 --- a/srcpkgs/oil/template +++ b/srcpkgs/oil/template @@ -1,7 +1,7 @@ # Template file for 'oil' pkgname=oil version=0.9.0 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr $(vopt_with readline)" hostmakedepends="$(vopt_if readline readline-devel)" @@ -12,7 +12,7 @@ license="Apache-2.0" homepage="https://www.oilshell.org" distfiles="${homepage}/download/${pkgname}-${version}.tar.xz" checksum=c64e22a3665756ea54ea60aa983f7893501a13c2a4d1c7f73c8c76f17ea03636 -register_shell="/usr/bin/osh" +register_shell="/usr/bin/osh /usr/bin/osh" nocross="Build systems gets confused with host and cross toolchains/headers" nostrip=yes @@ -27,8 +27,9 @@ pre_build() { do_install() { # Install binaries vbin _bin/oil.ovm - # Symlink osh, oshc to oil.ovm. + vman doc/osh.1 + # Symlink osh, oil to oil.ovm. cd "${DESTDIR}"/usr/bin ln -s oil.ovm osh - ln -s oil.ovm oshc + ln -s oil.ovm oil }