void-packages/srcpkgs/firejail/template

46 lines
1.3 KiB
Bash
Raw Normal View History

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