# Template file for 'fselect'
pkgname=fselect
version=0.8.0
revision=1
build_style=cargo
short_desc="Find files with SQL-like queries"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/jhspetersson/fselect"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=33dfcbbf7e598bce479b1fb5c17429af1bb309beab2e4bc95642e9f4b5c2ffbd

post_patch() {
	# in rustix-0.32.x:
	#
	# libc::BLKSSZGET as c::c_ulong,
	# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u64`
	#
	# remove on next version update
	cargo update --package fd-lock --precise 3.0.5
}

post_install() {
	vlicense LICENSE-MIT
}
