blob: b5419b11e8ad716872edf666bcb8878cdc20e577 (
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
|
# Maintainer: tytan652 <tytan652 at tytanium dot xyz>
pkgname=buildbox
pkgver=1.2.21
pkgrel=1
pkgdesc="A set of tools for remote worker build execution"
arch=(x86_64)
url="https://buildgrid.build"
license=(Apache-2.0)
depends=(
'glibc'
'gcc-libs'
'abseil-cpp'
'fuse3'
'google-glog'
'grpc'
'openssl'
'protobuf'
'util-linux-libs'
'bubblewrap'
)
makedepends=(
'benchmark'
'c-ares'
'cmake'
'git'
'gmock'
'gtest'
'net-tools'
'ninja'
'nlohmann-json'
'tomlplusplus'
)
provides=('buildbox-casd' 'buildbox-fuse' 'buildbox-run-bubblewrap')
conflicts=('buildbox-casd' 'buildbox-fuse' 'buildbox-run-bubblewrap')
source=("git+https://gitlab.com/BuildGrid/buildbox/buildbox.git#tag=${pkgver}")
sha256sums=('SKIP')
build() {
cmake -B build -S $pkgname \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF \
-DTOOLS=OFF \
-DCASD=ON \
-DCASD_BUILD_BENCHMARK=OFF \
-DFUSE=ON \
-DRECC=ON \
-DRUN_BUBBLEWRAP=ON \
-DWORKER=ON \
-Wno-dev
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
cd $pkgdir/usr/bin
ln -sr buildbox-run-bubblewrap buildbox-run
}
|