void-packages/srcpkgs/fselect/template

31 lines
826 B
Bash

# Template file for 'fselect'
pkgname=fselect
version=0.8.2
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libzstd-devel"
short_desc="Find files with SQL-like queries"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/jhspetersson/fselect"
changelog="https://github.com/jhspetersson/fselect/releases"
distfiles="https://github.com/jhspetersson/fselect/archive/refs/tags/${version}.tar.gz"
checksum=db55c067630074724fbd3fbf85ebf3de1cf5b47166f80866b58c72f2ef2ffd48
case "$XBPS_TARGET_MACHINE" in
ppc64le*) ;;
ppc64*) broken="some rustix junk";;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
XBPS_CROSS_RUSTFLAGS+=" -latomic"
fi
post_install() {
vlicense LICENSE-MIT
vman docs/fselect.1
vdoc docs/usage.md
}