aboutsummaryrefslogtreecommitdiffstats
path: root/community/geth/APKBUILD
blob: 3b9c203498e9777eebdd4c828ad275bf77a8be2b (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
30
31
32
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=geth
pkgver=1.8.13
pkgrel=0
pkgdesc="Official Go implementation of the Ethereum protocol"
url="https://geth.ethereum.org/"
arch="all"
license="LGPL-3.0"
makedepends="go linux-headers"
checkdepends="fuse"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/ethereum/go-ethereum/archive/v$pkgver.tar.gz"
builddir="$srcdir/go-ethereum-$pkgver"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="90e2aebb099aaee0f12e266b8a0f1c9812a8d848260de0f10fea4ea47965cf3ab0327507429a4ed0861cd76a0130d9ba4296dd92c844c77cd306cfe3945a61d5  geth-1.8.13.tar.gz"