Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134])
	by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 9F53321FFFB
	for <~alpine/aports@lists.alpinelinux.org>; Sun, 26 Mar 2023 15:33:59 +0000 (UTC)
Date: Sun, 26 Mar 2023 15:33:46 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
	s=protonmail3; t=1679844837; x=1680104037;
	bh=M9ZLsMt2Au7HkAwBtx22yzhn01eJIbiQ6rlGd1si+rI=;
	h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
	 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
	b=YgZ/kikgfCgQ3wbtucDbKi2lkCTVzSNdErV4LBPnL5Kqjt/gYwwGPa9jiz0R3jja0
	 NNlztbu/oCpyosOT5oDVkFPC1Awhrs/H9PwadFrn6TM8Zf5bTyMEVQCpNjhcEXqEnp
	 JRGDsFXMmiV/kquWYK7mHOblIeCenjdYcLJzqcJ2EKJEs59bqOmuiXtUoaCGXO1OKB
	 HIElCDmCM9LD/KS50yRFBKwZShRik6eVkx/HBuGy09n+G32Z6/5kN9nf+Cr53lavvI
	 6hLLFzeBWlgWm+13dyxPztr64UBnPdM4EM9ft76QLqe7BFCzZGs7+MFtGINB8gP+7j
	 QJzSaDP3kq0qg==
To: "~alpine/aports@lists.alpinelinux.org" <~alpine/aports@lists.alpinelinux.org>
From: KAAtheWise <KAAtheWise@protonmail.com>
Subject: [PATCH] testing/scc: new aport
Message-ID: <nxKASxX80oxtIo2VKlCz3V16Nrm6Y-zCOEm3xuagwF-7jVu6Q4VN1YHjlbQjlWx4_bGstv43nMrauKMmhKFvZShoka_bGdVRIUXyiF1leyQ=@protonmail.com>
Feedback-ID: 42509552:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

A port for the SCC SLOC/CLOC counter.
---
 testing/scc/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/scc/APKBUILD

diff --git a/testing/scc/APKBUILD b/testing/scc/APKBUILD
new file mode 100644
index 00000000000..a7a313f954c
--- /dev/null
+++ b/testing/scc/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: KAA the Wise <KAAtheWise@protonmail.com>
+# Maintainer: KAA the Wise <KAAtheWise@protonmail.com>
+pkgname=3Dscc
+pkgver=3D3.1.0
+pkgrel=3D0
+pkgdesc=3D"A very fast accurate code counter with complexity calculations =
and COCOMO estimates written in pure Go"
+url=3D"https://github.com/boyter/scc"
+arch=3D"all"
+license=3D"MIT"
+makedepends=3D"go"
+options=3D"!check" # no test files present
+source=3D"$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+
+export GOFLAGS=3D"$GOFLAGS -trimpath -mod=3Dreadonly -modcacherw"
+export GOCACHE=3D"${GOCACHE:-"$srcdir/go-cache"}"
+export GOTMPDIR=3D"${GOTMPDIR:-"$srcdir"}"
+export GOMODCACHE=3D"${GOMODCACHE:-"$srcdir/go"}"
+
+build() {
+=09go build -v -o bin/"$pkgname"
+}
+
+package() {
+=09install -Dm0755 bin/"$pkgname" -t "$pkgdir"/usr/bin
+}
+
+sha512sums=3D"
+ecf47ae92806c2e4c696b99d7b5ef4f24527708c9e8d452d0341c00bd93ed7523f165e429b=
38c1a269f168793aabf95291e43b4f9a1dc8c5a79127fd5fe16721  scc-3.1.0.tar.gz
+"
--=20
2.38.4