From ceec1e3c1e13f39c9e591e2947fbcfd34154fea5 Mon Sep 17 00:00:00 2001
From: J0WI <J0WI@users.noreply.github.com>
Date: Sun, 16 Apr 2023 16:59:53 +0200
Subject: [PATCH] community/hexyl: no longer limited by rust

---
 community/hexyl/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/community/hexyl/APKBUILD b/community/hexyl/APKBUILD
index 9415715415f9..ba4fa8e3b9e7 100644
--- a/community/hexyl/APKBUILD
+++ b/community/hexyl/APKBUILD
@@ -6,9 +6,10 @@ pkgrel=0
 pkgdesc="Command-line hex viewer with colored output"
 url="https://github.com/sharkdp/hexyl"
 license="Apache-2.0 OR MIT"
-arch="all !s390x !riscv64" # blocked by rust/cargo
+arch="all"
 makedepends="cargo"
 source="https://github.com/sharkdp/hexyl/archive/v$pkgver/hexyl-$pkgver.tar.gz"
+[ "$CARCH" = "riscv64" ] && options="$options textrels"
 
 export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
 
-- 
GitLab