# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=geth pkgver=1.7.2 pkgrel=0 pkgdesc="Official Go implementation of the Ethereum protocol" url="https://geth.ethereum.org/" arch="all" license="LGPLv3" 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="7bc5957f1523fa5ec67650c4305633aa4c6098a243ef415f9ef56a4e4763eb2ef9f69514ed15810fcdb75f11e87cbd27c4f2af802c32a03be91b37a7b08ea520 geth-1.7.2.tar.gz"