From c1115e46605d48bac8ff7fd22051878c3373eca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 3 Jan 2021 02:57:15 +0100 Subject: [PATCH] ion: update to latest git revision No release tag since 2017-07-15 and the alpha release 1.0.5 fails to build. --- srcpkgs/ion/template | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/srcpkgs/ion/template b/srcpkgs/ion/template index 3bb3aeb6653..254fdcb1f42 100644 --- a/srcpkgs/ion/template +++ b/srcpkgs/ion/template @@ -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 " 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