diff options
author | Johannes Dewender | 2012-07-25 09:07:03 +0000 |
---|---|---|
committer | Johannes Dewender | 2012-07-25 09:07:03 +0000 |
commit | 90c0ec1cb96c530a4c434a0ec8a185f9f7a99c8a (patch) | |
tree | 05c4bc38ccf5b2aad84039f2a26b0e779f9f37ef | |
parent | ac6da462055985722203e82d53aed327a2e25ced (diff) | |
download | aur-90c0ec1cb96c530a4c434a0ec8a185f9f7a99c8a.tar.gz |
holyspirit-svn: fix ini, logfile
git-svn-id: http://svn.kraehen.org/aur@148 04e22907-73ef-438a-a52f-a971dc6d3b47
-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" } |