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