31 lines
922 B
Bash
31 lines
922 B
Bash
# Template file for 'broot'
|
|
pkgname=broot
|
|
version=1.43.0
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libgit2-1.8-devel oniguruma-devel"
|
|
short_desc="Interactive directory tree view, fuzzy search, balanced BFS descent"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://dystroy.org/broot/"
|
|
changelog="https://raw.githubusercontent.com/Canop/broot/main/CHANGELOG.md"
|
|
distfiles="https://github.com/Canop/broot/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=64e1b4e2c57373b85ef358241655739f5bb8dedd6600ce0347a6b40640614326
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
|
broken="exr crate errors on big endian"
|
|
fi
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64*) ;;
|
|
ppc*|mips*) broken="unresolved import 'std::sync::atomic::AtomicU64'";;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
vsed -e "s/#version/${version}/g;s,#date,$(date +'%Y/%m/%d'),g" -i man/page
|
|
vman man/page broot.1
|
|
}
|