blob: a4bad96e8b617b8185bd0d864b670752d71e5464 (
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
62
63
64
|
# Maintainer: igo95862 <address at domain dot tld>
pkgname=bubblejail-git
pkgver=0.8.3.r534.fd731b2
pkgrel=1
pkgdesc="Bubblewrap based sandboxing utility"
arch=('any')
url="https://github.com/igo95862/bubblejail"
license=('GPL3')
depends=(
'python'
'python-pyxdg'
'bubblewrap'
'python-tomli-w'
'xdg-dbus-proxy'
'hicolor-icon-theme'
'python-pyqt6'
'desktop-file-utils'
'libnotify'
)
provides=('bubblejail')
conflicts=('bubblejail')
optdepends=(
'bash-completion: completions for bash shell'
'fish: completions for fish shell'
'slirp4netns: Namespaced networking stack'
)
makedepends=(
'git'
'meson'
'python-jinja'
'scdoc'
# For python-lxns
'gcc'
'linux-headers'
)
source=(
"$pkgname"::"git+https://github.com/igo95862/bubblejail"
"python-lxns"::"git+https://github.com/igo95862/python-lxns"
)
md5sums=('SKIP' 'SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "%s.r%s.%s" "$(git describe --abbrev=0 --tags)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$pkgname"
git submodule init
git config submodule.subprojects/python-lxns.url "$srcdir/python-lxns"
git -c protocol.file.allow=always submodule update
}
build () {
arch-meson "$srcdir/$pkgname" build \
-Duse-vendored-python-lxns=enabled \
-Dversion_display="AUR-git $pkgver" \
--wipe
meson compile -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|