33 lines
969 B
Bash
33 lines
969 B
Bash
# Template file for 'fselect'
|
|
pkgname=fselect
|
|
version=0.9.1
|
|
revision=1
|
|
build_style=cargo
|
|
# disable automatic update checking
|
|
configure_args="--no-default-features --features=users,git"
|
|
hostmakedepends="cmake pkg-config"
|
|
makedepends="libzstd-devel openssl-devel libgit2-1.9-devel"
|
|
short_desc="Find files with SQL-like queries"
|
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
|
license="Apache-2.0 OR MIT"
|
|
homepage="https://fselect.rocks"
|
|
changelog="https://github.com/jhspetersson/fselect/releases"
|
|
distfiles="https://github.com/jhspetersson/fselect/archive/refs/tags/${version}.tar.gz"
|
|
checksum=6d635ed6e5b1b1be57ac6b047ce23cf9efd0cd488f615da54f70b5e34b466b31
|
|
make_check_pre="env PATH=/usr/libexec/chroot-git:${PATH}"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64le*) ;;
|
|
ppc64*) broken="some rustix junk";;
|
|
esac
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vman docs/fselect.1
|
|
vdoc docs/usage.md
|
|
}
|