From 37133d693655b9eb1d6edc3a6692c231b46f0489 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 26 Jun 2026 14:01:00 +0000 Subject: [PATCH] scc: update to 3.7.0 Also, add shell completions. --- srcpkgs/scc/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 }