aboutsummaryrefslogtreecommitdiffstats
path: root/community/geth/APKBUILD
blob: dd8b07f54f4f1db505ee4c508046d77a8abd916d (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.13
pkgrel=1
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="774a2a12b383a51be814171839f9e8c60294fab3686317666986d5bfec476fdc120130388d8dcc5c2efe19ab16c6f8801450fd545dd07f89b22285843ace1da3  geth-1.9.13.tar.gz"