aboutsummaryrefslogtreecommitdiffstats
path: root/community/geth/APKBUILD
blob: 95bdc9ea7755f296bbe72bc37f4bc187c3541f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=geth
pkgver=1.9.11
pkgrel=0
pkgdesc="Official Go implementation of the Ethereum protocol"
url="https://geth.ethereum.org/"
arch="all !aarch64" # build fails
license="LGPL-3.0"
makedepends="go linux-headers"
checkdepends="fuse"
options="!check chmod-clean"
source="$pkgname-$pkgver.tar.gz::https://github.com/ethereum/go-ethereum/archive/v$pkgver.tar.gz"
builddir="$srcdir/go-ethereum-$pkgver"

build() {
	make
}

check() {
	make test
}

package() {
	mkdir -p "$pkgdir"/usr/bin
	install -m755 -t "$pkgdir"/usr/bin build/bin/*
}

sha512sums="43aa0f42a69f4ba2f1505f6ef2c3e8afb86ab136b1763b421dca248d8809ce9b22e6c09e7c47a4ea0ec13b9d6587c995fd64dd025ac70a9a35da0deaf0b1ec90  geth-1.9.11.tar.gz"