Files
termux-packages/packages/scc/build.sh
termux-pacman-bot 60430bd871 bump(main/scc): 3.3.5
This commit has been automatically submitted by Github Actions.
2024-07-03 00:52:24 +00:00

22 lines
653 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/boyter/scc
TERMUX_PKG_DESCRIPTION="Counts physical the lines of code, blank lines, comment lines, and physical lines of source code"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.3.5"
TERMUX_PKG_SRCURL=https://github.com/boyter/scc/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=028869a7d053879a8e3f2872fdd792f165db13696918d08863475c638f08ef06
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
go mod init || :
go mod tidy
go build
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin scc
}