Skip to content

Commit

Permalink
oils: renamed old names and update
Browse files Browse the repository at this point in the history
  • Loading branch information
bugcrazy committed Aug 26, 2024
1 parent 4c4fb87 commit db3fb66
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
1 change: 1 addition & 0 deletions srcpkgs/oil
23 changes: 15 additions & 8 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
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 <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"
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

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 db3fb66

Please sign in to comment.