mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
dev-util/scc: new package, add 3.4.0
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
28
dev-util/scc/scc-3.4.0.ebuild
Normal file
28
dev-util/scc/scc-3.4.0.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="scc is a very fast accurate code counter"
|
||||
HOMEPAGE="https://github.com/boyter/scc/tree/master"
|
||||
SRC_URI="https://github.com/boyter/scc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
DOCS="CONTRIBUTING.md LANGUAGES.md README.md examples"
|
||||
|
||||
src_compile() {
|
||||
go build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin scc
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user