summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20b9bcd959097f4a0d058c1c2c52b8ebd93f5469 (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
# Maintainer: igo95862 <address at domain dot tld>
pkgname=bubblejail-git
pkgver=r241.8fae4d6
pkgrel=1
pkgdesc="Bubblewrap based sandboxing utility"
arch=('any')
url="https://github.com/igo95862/bubblejail"
license=('GPL3+')
depends=('python' 'python-xdg' 'bubblewrap' 'python-toml' 'xdg-dbus-proxy' 'hicolor-icon-theme')
makedepends=('git' 'meson')
provides=('bubblejail')
source=("$pkgname"::"git+https://github.com/igo95862/bubblejail")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

check () {
	meson test -C build --print-errorlogs
}

build () {
	arch-meson "$srcdir/$pkgname" build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}