void-packages/srcpkgs/go-ethereum/template
2019-10-24 14:30:21 +02:00

27 lines
810 B
Bash

# Template file for 'go-ethereum'
pkgname=go-ethereum
version=1.9.6
revision=1
build_style=go
go_import_path=github.com/ethereum/go-ethereum
go_package="${go_import_path}/cmd/abigen
${go_import_path}/cmd/bootnode
${go_import_path}/cmd/evm
${go_import_path}/cmd/geth
${go_import_path}/cmd/puppeth
${go_import_path}/cmd/rlpdump
${go_import_path}/cmd/wnode"
depends="geth"
short_desc="Full suite of Go Ethereum utilities"
maintainer="Hoang Nguyen <hoang@wetrust.io>"
license="GPL-3.0-only"
homepage="https://github.com/ethereum/go-ethereum"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=3000f787735ee302088d17d406eafc2ec26eaffc083d876b2fa07ec7dfbb94f9
geth_package() {
short_desc="Official Go implementation of the Ethereum protocol"
pkg_install() {
vmove usr/bin/geth
}
}