makedeb


golang-go-bin 2:1.23.4-1


The Go programming language

Click here to go back to the commit logs for golang-go-bin.

Commit:


Hash: 9cc932178c79a0fdcabba39af48c1b92c191a2e9

Message: v1.20.5

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 1dc29a9..5dbbe79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,15 +2,16 @@ generated-by = makedeb
 pkgname = golang-go-bin
 pkgbase = golang-go-bin
 pkgdesc = The Go programming language
-pkgrel = 2
-pkgver = 1.20.4
+pkgrel = 1
+pkgver = 1.20.5
 url = https://github.com/golang/go
 arch = amd64
 arch = arm64
 conflicts = golang-go
 depends = tar
 license = BSD3
-options = !strip
 provides = golang-go
-source = https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
-sha256sums = 698ef3243972a51ddb4028e4a1ac63dc6d60821bf18e59a807e051fee0a385bd
+source_amd64 = https://go.dev/dl/go1.20.5.linux-amd64.tar.gz
+source_arm64 = https://go.dev/dl/go1.20.5.linux-arm64.tar.gz
+sha256sums_amd64 = d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612
+sha256sums_arm64 = aa2fab0a7da20213ff975fa7876a66d47b48351558d98851b87d1cfef4360d09
diff --git a/PKGBUILD b/PKGBUILD
index 470480a..5205391 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
 # vim: set sw=4 expandtab:
 repology_pkgname=go
 pkgname=golang-go-bin
-pkgver=1.20.4
-pkgrel=2
+pkgver=1.20.5
+pkgrel=1
 pkgdesc='The Go programming language'
 arch=(amd64 arm64)
 depends=(tar)
@@ -12,18 +12,13 @@ provides=(golang-go)
 conflicts=(golang-go)
 license=(BSD3)
 url='https://github.com/golang/go'
-case "$(uname -m)" in
-  "aarch64")
-    dlarch=arm64
-    sha256sums=('105889992ee4b1d40c7c108555222ca70ae43fccb42e20fbf1eebb822f5e72c6')
-    ;;
-  "x86_64")
-    dlarch=amd64
-    sha256sums=('698ef3243972a51ddb4028e4a1ac63dc6d60821bf18e59a807e051fee0a385bd')
-    ;;
-esac
-source=("https://go.dev/dl/go${pkgver}.linux-${dlarch}.tar.gz")
-options=('!strip')
+
+source_arm64=("https://go.dev/dl/go${pkgver}.linux-arm64.tar.gz")
+source_amd64=("https://go.dev/dl/go${pkgver}.linux-amd64.tar.gz")
+sha256sums_arm64=('aa2fab0a7da20213ff975fa7876a66d47b48351558d98851b87d1cfef4360d09')
+sha256sums_amd64=('d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612')
+
+extensions=('zipman')
 
 package() {
   mkdir -p "${pkgdir}/usr/local/"