# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=geth pkgver=1.11.5 pkgrel=3 pkgdesc="Official Go implementation of the Ethereum protocol" url="https://geth.ethereum.org/" arch="all" license="LGPL-3.0-or-later" makedepends="go linux-headers" checkdepends="fuse" options="!check chmod-clean net" source="$pkgname-$pkgver.tar.gz::https://github.com/ethereum/go-ethereum/archive/v$pkgver.tar.gz" builddir="$srcdir/go-ethereum-$pkgver" # secfixes: # 1.10.22-r0: # - CVE-2022-37450 export GOROOT=/usr/lib/go export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { make } check() { make test } package() { mkdir -p "$pkgdir"/usr/bin install -m755 -t "$pkgdir"/usr/bin build/bin/* } sha512sums=" 09c425049a1cd0718f56a32f34e9f790e83673b70a5ea417d6307a08d36ea74e60857c3f7737f050c41ec94781102082d19511d6a7e25cdec4a49f9b6eb5c1c3 geth-1.11.5.tar.gz "