diff options
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | holyspirit.install | 8 |
2 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,5 @@ -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Johannes Dewender arch at JonnyJD dot net +# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=holyspirit-svn pkgver=2381 pkgrel=1 @@ -56,7 +56,8 @@ build() { package() { cd "$srcdir/$_svnmod-build" - sed -i -e "s|$pkgdir||g" holyspirit.ini + # fix currently broken upstream installation + sed -i -e "s|$pkgdir/opt/share/games/holyspirit/||g" holyspirit.ini cp ../LauncherHolyspirit . make install diff --git a/holyspirit.install b/holyspirit.install index 948d2fe9a31f..83181b60ea3b 100644 --- a/holyspirit.install +++ b/holyspirit.install @@ -9,6 +9,14 @@ post_install() { fi } +post_upgrade() { + if [ ! -e "$logfile" ]; then + touch "$logfile" + chgrp games "$logfile" + chmod g+w "$logfile" + fi +} + pre_remove() { rm -f "$logfile" } |