void-packages/srcpkgs/firejail/template

46 lines
1.3 KiB
Bash
Raw Normal View History

2015-02-17 14:30:42 +00:00
# Template file for 'firejail'
pkgname=firejail
2015-05-03 20:00:57 +00:00
version=0.9.26
2015-03-11 20:09:09 +00:00
revision=1
2015-02-17 14:30:42 +00:00
build_style=gnu-configure
2015-04-06 18:24:47 +00:00
build_pie=yes
2015-02-17 14:30:42 +00:00
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
2015-04-06 18:24:47 +00:00
/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"
2015-02-17 14:30:42 +00:00
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"
2015-05-03 20:00:57 +00:00
checksum=9195a15365ac73b7aa2c9816b94644e367f25ff58111b6786f94b27caf462561
2015-02-17 14:50:10 +00:00
case "$XBPS_TARGET_MACHINE" in
2015-02-17 14:57:23 +00:00
arm*)
configure_args+=" --disable-seccomp"
;;
2015-02-17 14:50:10 +00:00
esac
2015-02-17 14:57:23 +00:00
pre_install() {
# remove hardcoded strip(1)
2015-02-17 15:01:11 +00:00
sed -i '/strip .*/d' Makefile
2015-02-17 14:57:23 +00:00
}