aboutsummaryrefslogtreecommitdiffstats
path: root/community/geth/APKBUILD
blob: 940859e953e1af4858b359306a187f82e8efdd6e (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.12
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="ead4e4daf22be1f408931862245bc4f1010d37a688c11904196d8769b662e4d90eb15fb1b74b995d69e3d3aab0b1c34318974ae16d8b66601128b5cbd37bc10b  geth-1.9.12.tar.gz"