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