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