From 3d93989275ddd855dd4f1e7d1e179187ee17c1fb Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sat, 7 Feb 2026 21:37:19 +0300 Subject: =?UTF-8?q?chore(go):=20=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D1=83=20go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go/Staplerfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/go/Staplerfile b/go/Staplerfile index 3df88d3..f2642bd 100644 --- a/go/Staplerfile +++ b/go/Staplerfile @@ -5,15 +5,15 @@ summary="Go programming language" desc="Go is an open source programming language that makes it easy to build simple, reliable, and efficient software." homepage="https://go.dev/" maintainer="Alexander NeonXP Kiryukhin " -architectures=("amd64") +architectures=('amd64' 'arm64' 'arm6' '386' 'riscv64') license="BSD-3-Clause" -sources=("https://dl.google.com/go/go1.25.7.linux-amd64.tar.gz") -checksums=("sha256:12e6d6a191091ae27dc31f6efc630e3a3b8ba409baf3573d955b196fdf086005") +sources=("https://dl.google.com/go/go$version.linux-$ARCH.tar.gz") +checksums=("SKIP") disable_network=1 deps=("glibc") -provides=('go') -conflicts=('go') +provides=('go' 'golang') +conflicts=('go' 'golang' 'golang-bin' 'golang-git') package() { install -dm755 "$pkgdir/usr/lib" @@ -21,8 +21,10 @@ package() { install -dm755 "$pkgdir/usr/bin" ln -s "../lib/go/bin/go" "$pkgdir/usr/bin/go" ln -s "../lib/go/bin/gofmt" "$pkgdir/usr/bin/gofmt" + install-license "$srcdir/go/LICENSE" } files() { - files-find "/usr/lib/**/*" "/usr/bin/*" + files-find-binary + files-find "/usr/lib/**/*" } -- cgit v1.2.3