makedeb


golang-go 2:1.23.0-1


The Go programming language

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

Commit:


Hash: f6a167325b5b7b22c2c11ff59c1356f6acd1b440

Message: Add packages to optdepends A lot of Go packages seem to need C packages, so we'll make them recommended here. Also copied a few packages from the 20.04 repository's golang-go package.

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4a2142e..824d682 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +3,16 @@ generated-by = makedeb-makepkg
 pkgbase = golang-go
 	pkgdesc = The Go programming language
 	pkgver = 1.18
-	pkgrel = 1
+	pkgrel = 2
 	epoch = 2
 	url = https://go.dev/
 	arch = any
 	makedepends = gcc
 	makedepends = golang-go
+	optdepends = r!g++
+	optdepends = r!gcc
+	optdepends = r!libc6-dev
+	optdepends = r!pkg-config
 	options = !strip
 	source = golang-go-1.18::git+https://go.googlesource.com/go/#tag=go1.18
 	sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 639735e..485c490 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
 # Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
 pkgname=golang-go
 pkgver=1.18
-pkgrel=1
+pkgrel=2
 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/'
 options=('!strip')