blob: 705c018992cdd3c036bfd7d2a9de4c5892366b73 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Maintainer: Emil Bay <archlinux@tixz.dk>
pkgname=nethermind-ethereum-bin
_pkgname=nethermind
pkgver=1.30.2
_pkgver=1.30.2
_commit=1e7cf00e
pkgrel=1
pkgdesc='A robust execution client for Ethereum node operators. Binary distribution.'
arch=('x86_64' 'aarch64')
url='https://downloads.nethermind.io/'
license=('LGPL-3.0-only')
depends=('zlib' 'base-devel')
provides=('nethermind' 'nethermind-cli' 'Nethermind.Runner')
conflicts=('nethermind' 'nethermind-cli' 'Nethermind.Runner')
source_x86_64=(
"https://github.com/NethermindEth/nethermind/releases/download/${_pkgver}/nethermind-${_pkgver}-${_commit}-linux-x64.zip"
"https://nethdev.blob.core.windows.net/builds/nethermind-${_pkgver}-${_commit}-linux-x64.zip.asc"
)
source_aarch64=(
"https://github.com/NethermindEth/nethermind/releases/download/${_pkgver}/nethermind-${_pkgver}-${_commit}-linux-arm64.zip"
"https://nethdev.blob.core.windows.net/builds/nethermind-${_pkgver}-${_commit}-linux-arm64.zip.asc"
)
md5sums_x86_64=('a21fca37cc56b52d289f72da91c4865a'
'SKIP')
md5sums_aarch64=('ae041276777cca08eda97f64ed1308d3'
'SKIP')
sha256sums_x86_64=('ec0fc30d719df296882afa0f2ae01ac379856f0df350685a02539822e3f7b5b7'
'SKIP')
sha256sums_aarch64=('4463fded3cf5c0d11d10b6ffcdc4694f7547af5d5d3458da7d778a40134f0496'
'SKIP')
b2sums_x86_64=('fc8cde08ab76275ab6046f4251fb634dec0fe5d7cac25b47b37b597a4b7304924541f2084e51da57cec0ac620f27ebb50cf98a3d9ce3796f58117f959a4eadbe'
'SKIP')
b2sums_aarch64=('c69a6632ce00c6fbc607738aedfa347527004084dbcac76d3e035bac77fd5f55ff23004f00cbc725601396ec4726711d74da8093d5515b560bd42f2009d98090'
'SKIP')
# Can be acquired with `gpg --receive-keys CB6DA407 34E353C6` (listed at the bottom of https://downloads.nethermind.io/)
validpgpkeys=('6942FB745ECE67D86CDA45704770A0C134E353C6' 'EECCEA1473108E3222D76722D39BE1DDCB6DA407')
backup=('etc/nethermind/NLog.config')
package() {
configs_srcdir="$srcdir/configs"
plugins_srcdir="$srcdir/plugins"
data_srcdir="$srcdir/Data"
# Binaries
for b in "${provides[@]}"; do
install -D -m755 --mode=+xr "$srcdir/$b" "$pkgdir/usr/bin/$b"
done
# install config recursively
install -D -m644 "$srcdir/NLog.config" "$pkgdir/etc/nethermind/NLog.config"
for c in $(find "$configs_srcdir" -type f); do
install -D -m644 "$c" "$pkgdir/etc/nethermind/configs/${c#$configs_srcdir}"
done
# Plugins
for p in $(find "$plugins_srcdir" -type f); do
install -D -m644 "$p" "$pkgdir/usr/share/nethermind/plugins/${p#$plugins_srcdir}"
done
# Data
for d in $(find "$data_srcdir" -type f); do
install -D -m644 "$d" "$pkgdir/usr/share/nethermind/Data/${d#$data_srcdir}"
done
}
|