# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=geth pkgver=1.8.20 pkgrel=1 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 fix-ppc64le-isatty.patch" 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="99a414991801f2deed6d40fe8fcd60f35c0bc1b0f54af4427d4e431de111d626855985ae929663dc5c7454a8d224663858d0f7236238d05c78775377b46510ba geth-1.8.20.tar.gz 7f1d4cf22e1d48baebd28725ee099cb878028980af336b6e92d1f580a24a7d11e8b302e2b1f8c14f5b18b1d01313abe43464d8bef631ca18e5b0d613fe0a10a0 fix-ppc64le-isatty.patch"