aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/go/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2iligrams@protonmail.com>2025-03-12 04:01:18 +0100
committeremmett1 <emmett1.2iligrams@protonmail.com>2025-03-12 04:01:18 +0100
commitddd8e1a8fab2ac39396282a7c09ddf6eca219613 (patch)
tree12796519575126d60e06d02e9eab68856229cf58 /repos/extra/go/abuild
parentb5a8a6c29e40f786ceb808c0b95f01c4251111d1 (diff)
downloadalicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.tar.gz
alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.zip
clang repos updated
Diffstat (limited to 'repos/extra/go/abuild')
-rwxr-xr-xrepos/extra/go/abuild28
1 files changed, 0 insertions, 28 deletions
diff --git a/repos/extra/go/abuild b/repos/extra/go/abuild
deleted file mode 100755
index 68d8f2de..00000000
--- a/repos/extra/go/abuild
+++ /dev/null
@@ -1,28 +0,0 @@
-name=go
-version=1.24.0
-release=1
-source="https://${name}lang.org/dl/${name}${version}.src.tar.gz
- https://golang.org/dl/go${version}.linux-amd64.tar.gz::noextract"
-
-build() {
- if [ ! "$(which go)" ]; then
- mkdir $SRC/gobin
- tar xf $SRC/go${version}.linux-amd64.tar.gz -C $SRC/gobin
- export GOROOT_BOOTSTRAP=$SRC/gobin/go
- else
- export GOROOT_BOOTSTRAP=/usr/lib/go
- fi
-
- export GOCACHE=$SRC/.go
- export GOROOT_FINAL=/usr/lib/go
-
- cd src
- ./make.bash
-
- install -d $PKG/usr/lib
- mv $SRC/go $PKG/usr/lib/
-
- install -d $PKG/usr/bin
- ln -s /usr/lib/go/bin/go $PKG/usr/bin/
- ln -s /usr/lib/go/bin/gofmt $PKG/usr/bin/
-}