Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions srcpkgs/scc/template
Original file line number Diff line number Diff line change
@@ -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 <orphan@voidlinux.org>"
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
}