New package: oil-0.6.0
re-add nostrip Add proper readline build option and re-add nocross make using the readline option default and remove desc fix readline option fix nocross reason remove nostrip=yes and the removal of the wrapper in do_install rename oilshell to oil re-add nostrip
This commit is contained in:
parent
66920b4eec
commit
b9175a463a
1 changed files with 37 additions and 0 deletions
37
srcpkgs/oil/template
Normal file
37
srcpkgs/oil/template
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Template file for 'oil'
|
||||||
|
pkgname=oil
|
||||||
|
version=0.6.0
|
||||||
|
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="Caleb JA <skywise@tutanota.de>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://www.oilshell.org"
|
||||||
|
distfiles="${homepage}/download/${pkgname}-${version}.tar.xz"
|
||||||
|
checksum=141e3a5c1997a696d65747966978aaa38921d77e303aad9e77b4ab4aedab84b7
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
Loading…
Reference in a new issue