diff --git a/srcpkgs/qfind/template b/srcpkgs/qfind/template new file mode 100644 index 00000000000000..95e28b38420463 --- /dev/null +++ b/srcpkgs/qfind/template @@ -0,0 +1,22 @@ +# Template file for 'qfind' +pkgname=qfind +version=0.2.0 +revision=1 +build_style="cargo" +hostmakedepends="pkg-config" +short_desc="Instant filename search" +maintainer="ihateemoji " +license="MIT" +homepage="https://github.com/DerpcatMusic/qfind" +distfiles="https://github.com/DerpcatMusic/qfind/archive/refs/tags/v${version}.tar.gz" +checksum="6906c6e6f78d65fc6e98b692257b94584e5a7f889db48e386ce335bda0acb3a6" + +do_build() { + cargo build --release -p qfind -p qfind-tui --target "${RUST_TARGET}" +} + +do_install() { + vbin target/${RUST_TARGET}/release/qfind + vbin target/${RUST_TARGET}/release/qfind-tui + vlicense LICENSE +}