diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | system.service | 4 |
3 files changed, 11 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# mar jan 12 23:25:03 UTC 2016 +# ven fév 12 22:29:00 UTC 2016 pkgbase = shout-irc pkgdesc = Web-based IRC client pkgver = 0.53.0 - pkgrel = 1 + pkgrel = 2 url = http://shout-irc.com/ install = install arch = any @@ -1,8 +1,8 @@ -# Maintainer: Maxime Poulin <maxpoulin64@gmail.com> +# Contributor: Maxime Poulin <maxpoulin64@gmail.com> # Contributor: Duncan K. <duncank@fastmail.fm> pkgname=shout-irc pkgver=0.53.0 -pkgrel=1 +pkgrel=2 pkgdesc="Web-based IRC client" url='http://shout-irc.com/' arch=('any') @@ -42,4 +42,7 @@ package() { install -Dm644 $srcdir/system.service $pkgdir/usr/lib/systemd/system/${pkgname}.service install -Dm644 $srcdir/user.service $pkgdir/usr/lib/systemd/user/${pkgname}.service + + grep -FRlZ "$startdir" "$pkgdir" | \ + xargs -0 -- sed -i "s|$startdir|/tmp/build|g" } diff --git a/system.service b/system.service index ead49578b54e..e251a4121c22 100644 --- a/system.service +++ b/system.service @@ -7,6 +7,10 @@ User=shout-irc Group=shout-irc Type=simple ExecStart=/usr/bin/shout-irc --home /etc/shout-irc +ProtectSystem=yes +ProtectHome=yes +NoNewPrivileges=yes +PrivateTmp=yes [Install] WantedBy=multi-user.target |