From e3b05391d12a7c695153b9ec5a557675fdcf5564 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 17 Jun 2018 20:55:38 +0200 Subject: .desktop: add run with firejail action --- linux/makepkg/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux/makepkg/PKGBUILD') diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index e1ce4c8..d0e3b7f 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -13,6 +13,7 @@ license=('GPL3') replaces=('smolbote-git') depends=('qt5-webengine>=5.10.1' 'boost-libs>=1.66.0') +optdepends=('firejail: launch a sandboxed instance') makedepends=('mercurial' 'cmake' 'pkg-config' 'ninja') # this is the central repository @@ -94,6 +95,9 @@ package() { install -Dm644 "${srcdir}/smolbote-hg/data/poi.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/poi.svg" install -Dm644 "${srcdir}/smolbote-hg/linux/poi.desktop" "${pkgdir}/usr/share/applications/poi.desktop" + # firejail profile + install -Dm644 "${srcdir}/smolbote-hg/data/poi.profile" "${pkgdir}/usr/local/lib/smolbote/poi.profile" + # man page _man_dir="$pkgdir/usr/local/man/man7" test -d $_man_dir || mkdir -p $_man_dir -- cgit v1.2.1