From f980db40a0da5010b6c57a332834b0c510819b21 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sat, 7 Feb 2026 18:40:17 +0300 Subject: add: go 1.5.7 --- go/Staplerfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 go/Staplerfile (limited to 'go/Staplerfile') diff --git a/go/Staplerfile b/go/Staplerfile new file mode 100644 index 0000000..9c2ce14 --- /dev/null +++ b/go/Staplerfile @@ -0,0 +1,28 @@ +name="go" +version="1.25.7" +release=1 +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") +license="BSD-3-Clause" +sources=("https://dl.google.com/go/go1.25.7.linux-amd64.tar.gz") +checksums=("sha256:12e6d6a191091ae27dc31f6efc630e3a3b8ba409baf3573d955b196fdf086005") +disable_network=1 + +deps=("glibc") +provides=('go') +conflicts=('go') + +package() { + install -dm755 "$pkgdir/usr/lib" + cp -a "$srcdir/go" "$pkgdir/usr/lib/go" + 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" +} + +files() { + files-find "/usr/lib/**/*" "/usr/bin/*" +} \ No newline at end of file -- cgit v1.2.3