void-packages/srcpkgs/fselect/template
2023-05-13 20:29:43 -05:00

30 lines
826 B
Bash

# Template file for 'fselect'
pkgname=fselect
version=0.8.3
revision=1
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=2b8e8b40ef490663239f3a24f9383fd5b832530e96513d58755b688b507d876e
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
}