diff --git a/srcpkgs/skim/template b/srcpkgs/skim/template new file mode 100644 index 00000000000..1fde9c1a51f --- /dev/null +++ b/srcpkgs/skim/template @@ -0,0 +1,25 @@ +# Template file for 'skim' +pkgname=skim +version=0.3.2 +revision=1 +hostmakedepends="cargo rust" +short_desc="Fuzzy Finder in rust" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/lotabout/skim" +distfiles="https://github.com/lotabout/skim/archive/v${version}.tar.gz" +checksum=a16f64e4ce4703b36ca01e2f83b92b8a653ef9b9ce10332c6e215b80d3680e79 +nocross=yes + +do_build() { + cargo build --release +} + +do_check() { + cargo test --release +} + +do_install() { + vbin target/release/sk + vlicense LICENSE +}