# Maintainer: Donoban pkgname=bubblejail pkgver=0.8.0 pkgrel=0 pkgdesc="Bubblewrap based sandboxing for desktop applications" url="https://github.com/igo95862/bubblejail" arch="noarch" license="GPL-3.0-or-later" depends=" bubblewrap libseccomp python3 py3-tomli py3-tomli-w py3-xdg xdg-dbus-proxy " makedepends=" meson scdoc py3-jinja2 " subpackages=" $pkgname-doc $pkgname-pyc $pkgname-bash-completion $pkgname-fish-completion $pkgname-config " source="bubblejail-$pkgver.tar.gz::https://github.com/igo95862/bubblejail/archive/refs/tags/$pkgver.tar.gz" options="!check" # No tests build() { abuild-meson \ -Duse_python_site_packages_dir=true \ -Dversion_display="Alpine $pkgver" \ -Dbytecode-optimization=0 \ . output meson compile -C output } package() { DESTDIR=$pkgdir meson install --no-rebuild -C output # the meson toggle doesn't work to disable this find "$pkgdir" -name "*.opt-1.pyc" -delete } config() { depends="$pkgname=$pkgver-r$pkgrel py3-qt6" amove /usr/bin/bubblejail-config amove /usr/lib/python3.*/site-packages/bubblejail/bubblejail_gui_qt.py } sha512sums=" a831e4b492df8fe743ef7fc081035ff7f6f6cc266f0621f66d67cb3b80bb029ab8a51a9f95d8097fd70ef2907ccf547e50e3b5d2dc3970bdb3fd054ac9139149 bubblejail-0.8.0.tar.gz "