void-packages/srcpkgs/firejail/template

25 lines
785 B
Bash

# Template file for 'firejail'
pkgname=firejail
version=0.9.62.2
revision=1
build_style=gnu-configure
configure_args="--enable-apparmor"
hostmakedepends="pkg-config"
makedepends="libapparmor-devel"
short_desc="SUID security sandbox program"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://firejail.wordpress.com"
changelog="https://github.com/netblue30/firejail/raw/master/RELNOTES"
distfiles="https://github.com/netblue30/firejail/archive/${version}.tar.gz"
checksum=acf7248b4a496cf35d3648998e4d030f39ee722ef7e3e6fde29da708a1b1ed24
conf_files="/etc/firejail/* /etc/apparmor.d/local/firejail-local"
if [ "$CROSS_BUILD" ]; then
configure_args+=" --disable-seccomp"
fi
post_install() {
vinstall etc/firejail-local 644 etc/apparmor.d/local
}