25 lines
627 B
Bash
25 lines
627 B
Bash
# Template file for 'hexyl'
|
|
pkgname=hexyl
|
|
version=0.6.0
|
|
revision=1
|
|
build_style=cargo
|
|
short_desc="Command-line hex viewer"
|
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
|
license="Apache-2.0, MIT"
|
|
homepage="https://github.com/sharkdp/hexyl"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=5031b20c13b3ccb27abbf119b54609cef16c4152aca2823ee5c53cd5f434b97e
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
aarch64-musl) broken="https://github.com/nix-rust/nix/issues/951"
|
|
esac
|
|
|
|
pre_configure() {
|
|
cargo update --package ctrlc --precise 3.1.3
|
|
cargo update --package nix --precise 0.14.1
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
}
|