diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 6 insertions, 17 deletions
@@ -1,7 +1,7 @@ # Maintainer: Tony Lambiris <tony@criticalstack.com> pkgname=cilium-git -pkgver=1.5.3.r775.g85d2e7f21 +pkgver=1.6.1.r546.gfc44651ca pkgrel=1 pkgdesc="API-aware Networking and Security for Containers based on BPF" arch=('x86_64') @@ -37,32 +37,21 @@ build() { mv -fv "$v" vendor/src/ fi done - export GOPATH="$(pwd):$(pwd)/vendor" - - echo "${pkgver}" > VERSION - - export PKG_BUILD=1 + export GOPATH="$(pwd):$(pwd)/vendor" export CC="/usr/bin/gcc" export CXX="/usr/bin/g++" - make -C daemon apply-bindata - make V=1 proxylib bpf daemon cilium-health bugtool operator plugins tools - - cd envoy + echo "${pkgver}" > VERSION - unset PKG_BUILD - make BINDIR="${PWD}" install + make PKG_BUILD=1 V=1 -C daemon apply-bindata + make PKG_BUILD=1 V=1 build } package() { cd "${srcdir}/${pkgname}" - export PKG_BUILD=1 - - make DESTDIR="${pkgdir}" install - - install -Dm755 envoy/cilium-envoy "${pkgdir}/usr/bin" + make DESTDIR="${pkgdir}" PKG_BUILD=1 V=1 -i install install -Dm644 "$srcdir/cilium.sysusers" \ "$pkgdir/usr/lib/sysusers.d/cilium.conf" |