From 6e023b7524260f4c0870401bd1b0f5276f94052d Mon Sep 17 00:00:00 2001 From: ihateemoji Date: Sat, 29 Aug 2026 12:43:32 +0930 Subject: [PATCH] New package: qfind-0.1.0 --- srcpkgs/qfind/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/qfind/template diff --git a/srcpkgs/qfind/template b/srcpkgs/qfind/template new file mode 100644 index 00000000000000..eea6bfd29b0f1d --- /dev/null +++ b/srcpkgs/qfind/template @@ -0,0 +1,27 @@ +# Template file for 'qfind' +pkgname=qfind +version=0.1.0 +revision=1 +build_style="cargo" +hostmakedepends="pkg-config" +makedepends="gtk4-devel" +depends="gtk4 cairo" +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="29e98f3ea311c3ed3e3eebc5ab3c59aef96def95d487d4293833a1eaf9807076" + +do_build() { + export RUSTUP_TOOLCHAIN=stable + cargo build --release -p qfind -p qfind-tui -p qfind-gtk --target "${RUST_TARGET}" +} + +do_install() { + vbin target/${RUST_TARGET}/release/qfind + vbin target/${RUST_TARGET}/release/qfind-tui + vbin target/${RUST_TARGET}/release/qfind-gtk + vinstall ${wrksrc}/packaging/qfind.desktop 644 usr/share/applications + vlicense LICENSE +}