aboutsummaryrefslogtreecommitdiffstats
path: root/community/geth/APKBUILD
blob: 7296c99932015fb903d2fa82672c3cf7e2586a02 (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.16
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="24a37e8a520d68ba0efa8b2c51e703832ab07d94ab6c97a01be4e795bc1d01166770affbb5a72b0a75f63f812ba0c0776f7af452fd6d81bdf682b53d0080cd9c  geth-1.8.16.tar.gz"