blob: 0f15e0fd92d119749127a3a82c4cf7a85d942483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=geth
pkgver=1.8.27
pkgrel=1
pkgdesc="Official Go implementation of the Ethereum protocol"
url="https://geth.ethereum.org/"
arch="all !aarch64" # build fails
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="b67f3e8406d0f2142f4da334fd3f60b57faf1fb3282d548d3904d43e2de4d709a3ddf66b462517274d02621dcd1428f634e0d0663d68d30dc6567d550fbdb03a geth-1.8.27.tar.gz"
|