blob: f7107401d19c249c10f21c76f10b700ec6c218c2 (
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
|
# Maintainer: Marko Semet <marko10_000@mailbox.org>
pkgname=buildbox-fuse
pkgver=1.0.2
pkgrel=3
pkgdesc="A tool to run build commands in a sandbox with CAS as storage backend"
arch=(x86_64)
url="https://buildgrid.build"
license=('Apache')
depends=(fuse3 google-glog grpc util-linux-libs 'buildbox-common')
makedepends=(benchmark 'cmake' 'git' ninja)
source=("git+https://gitlab.com/BuildGrid/buildbox/buildbox-fuse#tag=1.0.2&commit=90b80e4ed48e624059b9922dc4018b43dc7f3e7e")
sha256sums=('SKIP')
build() {
mkdir -p build
cd build
CXXFLAGS="-flto=auto -flto-partition=one -fuse-linker-plugin -fno-fat-lto-objects -O2 -ffunction-sections -Wl,--gc-sections ${CXXFLAGS}" cmake ../buildbox-fuse \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
ninja
}
package() {
cd build
DESTDIR="$pkgdir/" ninja install
}
|