diff --git a/community/viu/APKBUILD b/community/viu/APKBUILD index 9025b138e4b..0f17849028e 100644 --- a/community/viu/APKBUILD +++ b/community/viu/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: omni pkgname=viu pkgver=1.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Terminal image viewer" # s390x: the trait `From` is not implemented for `u64` (in `terminal_size` crate) arch="all !s390x" @@ -17,9 +17,10 @@ prepare() { default_prepare # Build against system-provided sixel. + local target=$(rustc -vV | sed -n 's/host: //p') mkdir -p .cargo cat >> .cargo/config.toml <<-EOF - [target.$CTARGET] + [target.$target] sixel = { rustc-link-lib = ["sixel"] } EOF