blob: fe9432936a961ca47f3765f9bad5723bfcfe7fcf (
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
|
# Maintainer: Nico Beierle <nico dot beierle at gmail dot com>
pkgname=hornet-bin
_pkgname=hornet
pkgver=1.2.8
_pkgver=1.2.8
pkgrel=1
pkgdesc='Powerful, community driven IOTA fullnode software written in Go (official precompiled binary)'
arch=('x86_64' 'aarch64')
url='https://github.com/gohornet/hornet'
license=('Apache')
provides=('hornet')
conflicts=('hornet-git')
source=('hornet.sysusers'
'hornet.tmpfiles')
source_x86_64=("https://github.com/iotaledger/hornet/releases/download/v${_pkgver}/${_pkgname}_${_pkgver}_x86_64.deb")
source_aarch64=("https://github.com/iotaledger/hornet/releases/download/v${_pkgver}/${_pkgname}_${_pkgver}_ARM64.deb")
sha256sums=('a3f57844e655d3691814a8c181594f9ea2a8948f730a7493a0538856e895e6dc'
'a4019c885241329bfe5e091d0698cce1303a0ec8ce404f2e2dccbd5516c829c5')
sha256sums_x86_64=('1600d3725411e79637b3c5e7533459d8e74b36058587843db7dc63a0208aecaf')
sha256sums_aarch64=('ba658b0dde35d0ce44b60cf9ca8c2e2ed0281409e4315fc7ca96fbabccfc2abd')
backup=('var/lib/hornet/private_tangle/config_private_tangle.json'
'var/lib/hornet/config.json'
'var/lib/hornet/config_devnet.json'
'var/lib/hornet/peering.json'
'var/lib/hornet/profiles.json'
'etc/default/hornet')
install=hornet.install
package() {
cd "${srcdir}"
tar -xzf data.tar.gz -C "${pkgdir}"
# Systemd service must go to /usr/lib/...
mv "${pkgdir}/lib/" "${pkgdir}/usr/lib/"
install -Dm 644 "hornet.sysusers" "${pkgdir}/usr/lib/sysusers.d/hornet.conf"
install -Dm 644 "hornet.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/hornet.conf"
}
|