diff --git a/srcpkgs/sigi/template b/srcpkgs/sigi/template new file mode 100644 index 0000000000..d9fc482b82 --- /dev/null +++ b/srcpkgs/sigi/template @@ -0,0 +1,22 @@ +# Template file for 'sigi' +pkgname=sigi +version=3.1.0 +revision=1 +build_style=cargo +short_desc="Organization tool for people who hate organization" +maintainer="J.R. Hill " +license="GPL-2.0-only" +homepage="https://github.com/hiljusti/sigi" +distfiles="https://crates.io/api/v1/crates/sigi/${version}/download>sigi-${version}.tar.gz" +checksum=967e492a89f05c3a373929a48e0a1a7712d4742b150216228feff4a7869297e3 + +pre_check() { + # CLI tests in the project rely on BATS (more than just bats-core) through + # git submodules. We skip those tests here until the other bats components + # are imported in Void or https://github.com/hiljusti/sigi/issues/19 + export SKIP_BATS_TESTS=1 +} + +post_install() { + vman sigi.1 +}