summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin2015-06-04 08:57:58 +0200
committerFlorian Bruhin2015-06-04 08:58:17 +0200
commit2e7a456f358f23be4058eaecc7d562f1f335a9b6 (patch)
treec6a59c883fab00920021a943880a8e4cd65aa70f
parent69f1f55fa54d0669d54e08631544d6134351fd86 (diff)
downloadaur-2e7a456f358f23be4058eaecc7d562f1f335a9b6.tar.gz
agendav: Fix include paths.
-rw-r--r--PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4dcbe1cf36f..2753e8657cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,6 +24,13 @@ sha1sums=('621a7fbb8909b4852ffa7e53dab086ca314d3cae'
'8c2b1b02c09db5518cdccefd940094535957c3a7'
'c742ec9ca86af8c984a3124db59004b30fd424a9')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i \
+ "s|require_once('\\([^']*\\)');|require_once('/usr/share/webapps/agendav/web/config/\\1');|" \
+ web/config/config.php.template
+}
+
package() {
cd "$srcdir/$pkgname-$pkgver"