summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaxime Poulin2016-02-12 17:29:10 -0500
committerMaxime Poulin2016-02-12 17:29:10 -0500
commitbe92c9b5c82b4bcf16c5e6709b3b10b64dfbc368 (patch)
treee4d818ad3cfe0f7c5caba928cc246e0f4722bcd0 /PKGBUILD
parent7feea122c649953f42100817843fe72efcbbf5e6 (diff)
downloadaur-shout-irc.tar.gz
Add systemd security options and remove references to build dir
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1806fcd9e55..e83f5b0068d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}