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