diff --git a/srcpkgs/scc/template b/srcpkgs/scc/template index eb431bf2849548..dc3d5befeaf90a 100644 --- a/srcpkgs/scc/template +++ b/srcpkgs/scc/template @@ -1,17 +1,22 @@ # Template file for 'scc' pkgname=scc -version=3.6.0 +version=3.7.0 revision=1 build_style=go +build_helper=qemu go_import_path="github.com/boyter/scc/v3" short_desc="Fast cloc replacement written in pure Go" maintainer="Orphaned " license="MIT" homepage="https://github.com/boyter/scc" distfiles="https://github.com/boyter/scc/archive/v${version}.tar.gz" -checksum=15e09f446ee44f3ebdb59f55933128256588d0343988692f1064b9bfb4f96dd7 +checksum=447233f70ebcc24f1dafb27b093afdd17d3a1d662de96e8226130c5308b02d01 conflicts="sc-controller" # /usr/bin/scc post_install() { vlicense LICENSE + for shell in bash fish zsh; do + vtargetrun "$DESTDIR"/usr/bin/scc completion $shell > scc.$shell + vcompletion scc.$shell $shell + done }