makedeb
The Go programming language
Click here to go back to the commit logs for golang-go.
Hash: fa6a0b9ae51048fc8d59c3190f3a038c3f1e7602
Message: Bump version to '1.18.3'
diff --git a/.SRCINFO b/.SRCINFO
index b9e7596..7e2686d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,8 +5,8 @@ preinst = ./preinst
pkgbase = golang-go
pkgdesc = The Go programming language
pkgrel = 1
-pkgver = 1.18.2
-url = https://go.dev/
+pkgver = 1.18.3
+url = https://go.dev
arch = any
makedepends = gcc
makedepends = golang-go
@@ -15,7 +15,7 @@ optdepends = r!gcc
optdepends = r!libc6-dev
optdepends = r!pkg-config
options = !strip
-source = golang-go-1.18.2::git+https://go.googlesource.com/go/#tag=go1.18.2
+source = https://go.dev/dl/go1.18.3.src.tar.gz
sha256sums = SKIP
makedepends = gcc
makedepends = golang-go
diff --git a/PKGBUILD b/PKGBUILD
index f05281a..25bb32d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,26 @@
# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname=golang-go
-pkgver=1.18.2
+pkgver=1.18.3
pkgrel=1
epoch=2
pkgdesc='The Go programming language'
arch=('any')
optdepends=('r!g++' 'r!gcc' 'r!libc6-dev' 'r!pkg-config')
makedepends=('gcc' 'golang-go')
-url='https://go.dev/'
+url='https://go.dev'
options=('!strip')
preinst='./preinst'
-source=("${pkgname}-${pkgver}::git+https://go.googlesource.com/go/#tag=go${pkgver}")
+source=("${url}/dl/go${pkgver}.src.tar.gz")
sha256sums=('SKIP')
build() {
- cd "${pkgname}-${pkgver}/src/"
-
- export GOROOT_FINAL='/usr/lib/go'
- ./make.bash
+ cd go/src
+ GOROOT_FINAL='/usr/lib/go' ./make.bash
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd go/src
# Create needed directories.
install -d "${pkgdir}/usr/bin/" "${pkgdir}/usr/lib/go"