# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=geth pkgver=1.8.22 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="a8c8f54c38f90c95012cdbdcc2d33c0a29b57a7031d380b5b8f984914317e23a194c257913dc11c0da9209351041cd860979327c6340379bcfb734ebb635cee2 geth-1.8.22.tar.gz"