void-packages/srcpkgs/firejail/template

46 lines
1.3 KiB
Bash

# Template file for 'firejail'
pkgname=firejail
version=0.9.24
revision=1
build_style=gnu-configure
build_pie=yes
conf_files="
/etc/firejail/transmission-qt.profile
/etc/firejail/login.users
/etc/firejail/dropbox.profile
/etc/firejail/disable-secret.inc
/etc/firejail/chromium.profile
/etc/firejail/chromium-browser.profile
/etc/firejail/iceweasel.profile
/etc/firejail/firefox.profile
/etc/firejail/evince.profile
/etc/firejail/vlc.profile
/etc/firejail/opera.profile
/etc/firejail/transmission-gtk.profile
/etc/firejail/disable-mgmt.inc
/etc/firejail/midori.profile
/etc/firejail/icedove.profile
/etc/firejail/rhythmbox.profile
/etc/firejail/gnome-mplayer.profile
/etc/firejail/audacious.profile
/etc/firejail/thunderbird.profile
/etc/firejail/clementine.profile
/etc/firejail/totem.profile"
short_desc="SUID security sandbox program"
maintainer="Duncaen <mail@duncano.de>"
license="GPL-2"
homepage="https://l3net.wordpress.com/projects/firejail/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=165e59c2f9b3d9b2fd2c46ef502d97da5d7061a9c3093ab974269c3b08259732
case "$XBPS_TARGET_MACHINE" in
arm*)
configure_args+=" --disable-seccomp"
;;
esac
pre_install() {
# remove hardcoded strip(1)
sed -i '/strip .*/d' Makefile
}