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