ion: update to latest git revision

No release tag since 2017-07-15 and the alpha release 1.0.5 fails to build.
This commit is contained in:
Jürgen Buchmüller 2021-01-03 02:57:15 +01:00
parent 8038562968
commit c1115e4660

View file

@ -1,20 +1,21 @@
# Template file for 'ion'
pkgname=ion
version=1.0.5
revision=2
version=1.0.5.20201230
revision=1
_githash=2bc8826a97929b1878375a5c747e5c4cfed2b10b
wrksrc="${pkgname}-${_githash}"
build_style=cargo
register_shell="/bin/ion"
short_desc="The Ion Shell, written in Rust"
short_desc="Ion shell, written in Rust"
maintainer="Muhammad Herdiansyah <herdiansyah@opmbx.org>"
license="MIT"
nostrip="yes" # Stripping binaries doesn't work in ARM, Remove once fixed.
homepage="https://github.com/redox-os/ion"
distfiles="${homepage}/archive/${version}/${pkgname}-${version}.tar.gz"
checksum=7c7f696060a82669cb9c73cf0ec1d07d4ffefbfd54fc60acad0179ca3f46716d
distfiles="${homepage}/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=8ab295c5ff40de6b7a8dd93ee8d417b6e884f2b66b628409e4cd9345d70e9c00
register_shell="/bin/ion"
case "$XBPS_TARGET_MACHINE" in
aarch64-musl|ppc*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/14113/steps/shell_3/logs/stdio"
esac
pre_build() {
echo ${_githash} > git_revision.txt
}
post_install() {
vlicense LICENSE