blob: c84c01c1d8ac879bd408770f0856dc991efb52c5 (
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
|
# Maintainer: Pavers_Career <pavers_career_0d AT icloud DOT com>
pkgname="goshimmer-bin"
_pkgname="goshimmer"
pkgver="0.8.10"
pkgrel="1"
pkgdesc="GoShimmer implementation of Coordicide (official precompiled binary)"
arch=('x86_64')
url="https://github.com/iotaledger/goshimmer"
license=("Apache")
source=("https://github.com/iotaledger/goshimmer/releases/download/v${pkgver}/${_pkgname}-${pkgver}_Linux_x86_64.tar.gz"
"${_pkgname}.service")
sha256sums=('a229f780fd6e72b7222e0a452e524dbaeac3d6ae97beefed7ccbf7b93bd9469c'
'37e021ce73e05f1878896de42c76877a68fe6a678294bda0de3934b1f5a0d9c8')
backup=('etc/goshimmer/config.json')
install=${_pkgname}.install
package() {
# Install files
#install -Dm600 ${srcdir}/config.json ${pkgdir}/etc/goshimmer/config.json
install -D ${srcdir}/goshimmer ${pkgdir}/usr/bin/goshimmer
#install -D ${srcdir}/snapshot.bin ${pkgdir}/var/lib/goshimmer/snapshot.bin
#install -D ${srcdir}/README.md ${pkgdir}/var/lib/goshimmer/README.md
#install -D ${srcdir}/LICENSE ${pkgdir}/var/lib/goshimmer/LICENSE
# Install systemd service
install -D ${srcdir}/goshimmer.service ${pkgdir}/usr/lib/systemd/system/goshimmer.service
}
|