blob: 74296b7fa96ae818300eaf2d6671c3691252401c (
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
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Vyacheslav Konovalov <🦀vk@protonmail.com>
pkgname=swarm-bee-bin
pkgver=1.8.2
pkgrel=1
pkgdesc='Swarm client implemented in Go, basic building block for Swarm Network'
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url='https://github.com/ethersphere/bee'
license=('BSD')
depends=('bash')
optdepends=('swarm-bee-clef: external signer for bee')
provides=('swarm-bee')
conflicts=('swarm-bee')
backup=('etc/bee/bee.yaml')
source=('LICENSE' 'bee.sysusers' 'bee.tmpfiles')
source_x86_64=("$pkgname-$pkgver-x86_64.deb::$url/releases/download/v$pkgver/bee_${pkgver}_amd64.deb")
source_i686=("$pkgname-$pkgver-i686.deb::$url/releases/download/v$pkgver/bee_${pkgver}_386.deb")
source_armv7h=("$pkgname-$pkgver-armv7h.deb::$url/releases/download/v$pkgver/bee_${pkgver}_armhf.deb")
source_aarch64=("$pkgname-$pkgver-aarch64.deb::$url/releases/download/v$pkgver/bee_${pkgver}_arm64.deb")
sha256sums=('be2cfae74a424aa5e5c82480bc91483ddecac4b8b319fd16fa556940ffefce6e'
'36a50889de810ee1dba3fbcb5cc04942e298b8825e4e4fc4f2eabbd844b2cf39'
'27465c707fe2600700438cb8c2c5a3b87926ab086ce2e43f72b628650c8de034')
sha256sums_x86_64=('1d9686cd558294b28a460493aaefae2df2150a935c1c36dc91b0da6abb1df731')
sha256sums_i686=('f145cf5965b1390fb342c6f1d96cc60c0349e6f504e5146141ffd21fffa9c5ba')
sha256sums_armv7h=('00fe79fb6db26fb32421c2bf875572567ac7160332a44d2d0c43772cae8852f0')
sha256sums_aarch64=('56ab73858c4e524bd539875bb68830870d16105e1259cc6ea3c793c2f94fe498')
install=bee.install
prepare() {
bsdtar -xf data.tar.gz
}
package() {
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 etc/default/bee -t "$pkgdir/etc/default"
install -Dm644 etc/bee/bee.yaml -t "$pkgdir/etc/bee"
install -Dm644 lib/systemd/system/bee.service -t "$pkgdir/usr/lib/systemd/system"
install -Dm644 bee.sysusers "$pkgdir/usr/lib/sysusers.d/bee.conf"
install -Dm644 bee.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/bee.conf"
install -D usr/bin/bee{,-get-addr} -t "$pkgdir/usr/bin"
}
|