forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbubblewrap.yaml
52 lines (52 loc) · 1.65 KB
/
bubblewrap.yaml
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
package:
name: bubblewrap
version: 0.8.0
epoch: 0
description: "Unprivileged sandboxing tool"
copyright:
- license: LGPL-2.0-or-later
dependencies:
runtime:
environment:
contents:
packages:
- ca-certificates-bundle
- busybox
- build-base
- bash
- meson
- libcap-dev
pipeline:
- uses: fetch
with:
uri: https://github.com/containers/bubblewrap/archive/refs/tags/v${{package.version}}.tar.gz
expected-sha256: 8ede2b605d5aaf68aaa6ef1a5264ba7a31108c98417a8f88d289d0b5fa820c1b
- runs: |
meson --prefix=/usr -Drequire_userns=true . output
meson compile -C output
DESTDIR="${{targets.destdir}}" meson install --no-rebuild -C output
subpackages:
- name: bubblewrap-bash-completion
description: bash completion for bubblewrap
pipeline:
- runs: |
set -x
mkdir -p "${{targets.subpkgdir}}/usr/share/bash-completion/completions"
mv "${{targets.destdir}}/usr/share/bash-completion/completions/bwrap" \
"${{targets.subpkgdir}}/usr/share/bash-completion/completions/bwrap"
rm -rf "${{targets.destdir}}/usr/share/bash-completion"
dependencies:
runtime:
- bubblewrap
- name: bubblewrap-zsh-completion
description: zsh completion for bubblewrap
pipeline:
- runs: |
set -x
mkdir -p "${{targets.subpkgdir}}/usr/share/zsh/site-functions"
mv "${{targets.destdir}}/usr/share/zsh/site-functions/_bwrap" \
"${{targets.subpkgdir}}/usr/share/zsh/site-functions/_bwrap"
rm -rf "${{targets.destdir}}/usr/share"
dependencies:
runtime:
- bubblewrap