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