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