aboutsummaryrefslogtreecommitdiff
path: root/go/Staplerfile
diff options
context:
space:
mode:
author2026-02-07 18:40:17 +0300
committer2026-02-07 18:40:17 +0300
commitf980db40a0da5010b6c57a332834b0c510819b21 (patch)
treed5aa96a2c4fec7f8a0f6dc648e3e288bc9714dcf /go/Staplerfile
parentchore: Добавил README и зеркала репозитория (diff)
downloadrepo-f980db40a0da5010b6c57a332834b0c510819b21.tar.gz
repo-f980db40a0da5010b6c57a332834b0c510819b21.tar.bz2
repo-f980db40a0da5010b6c57a332834b0c510819b21.tar.xz
repo-f980db40a0da5010b6c57a332834b0c510819b21.zip
add: go 1.5.7
Diffstat (limited to 'go/Staplerfile')
-rw-r--r--go/Staplerfile28
1 files changed, 28 insertions, 0 deletions
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 <i@neonxp.ru>"
+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