aboutsummaryrefslogtreecommitdiff
path: root/linux/makepkg
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-17 20:55:38 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-17 20:55:38 +0200
commite3b05391d12a7c695153b9ec5a557675fdcf5564 (patch)
tree30395dbaf3ebd79029fea1052e1fa3f670fb6c63 /linux/makepkg
parentWebProfile: cache a list of cookies (diff)
downloadsmolbote-e3b05391d12a7c695153b9ec5a557675fdcf5564.tar.xz
.desktop: add run with firejail action
Diffstat (limited to 'linux/makepkg')
-rw-r--r--linux/makepkg/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
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