35 lines
848 B
Bash
35 lines
848 B
Bash
# Template file for 'oil'
|
|
pkgname=oil
|
|
version=0.8.3
|
|
revision=1
|
|
build_style=configure
|
|
configure_args="--prefix=/usr $(vopt_with readline)"
|
|
makedepends="$(vopt_if readline readline-devel)"
|
|
short_desc="Oil, a new unix shell"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://www.oilshell.org"
|
|
distfiles="${homepage}/download/${pkgname}-${version}.tar.xz"
|
|
checksum=3f78c606cde84ef0e90d1744d400c8428941eaab6515f382fabc28cf16453ccb
|
|
python_version=2 #unverified
|
|
register_shell="/usr/bin/osh"
|
|
nocross="oil is nocross"
|
|
nostrip=yes
|
|
|
|
build_options="readline"
|
|
build_options_default="readline"
|
|
|
|
pre_build() {
|
|
# Remove the strip wrapper
|
|
rm -f "${XBPS_WRAPPERDIR}"/strip
|
|
}
|
|
|
|
do_install() {
|
|
# Install binaries
|
|
vbin _bin/oil.ovm
|
|
# Symlink osh, oshc to oil.ovm.
|
|
cd "${DESTDIR}"/usr/bin
|
|
ln -s oil.ovm osh
|
|
ln -s oil.ovm oshc
|
|
}
|