Skip to content

Commit

Permalink
oils: renamed old names
Browse files Browse the repository at this point in the history
  • Loading branch information
bugcrazy committed Aug 25, 2024
1 parent 4c4fb87 commit ed38a9b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions srcpkgs/oil
19 changes: 13 additions & 6 deletions srcpkgs/oil/template → srcpkgs/oils/template
Original file line number Diff line number Diff line change
@@ -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 <marcoaureliopc@gmail.com>"
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

Expand All @@ -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"
}

0 comments on commit ed38a9b

Please sign in to comment.