summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelsl2019-06-11 22:31:46 +0800
committerangelsl2019-06-11 22:31:46 +0800
commit8239aef537be1af04e9134116f866aefd816949a (patch)
tree504589ef1435ff748b8c8109156ef9cdb524fa2b
parent6bf92c139ed759d478dab8a5620e1ce065f284eb (diff)
downloadaur-8239aef537be1af04e9134116f866aefd816949a.tar.gz
Add symlink for cache directory
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d6666d7159..304c2f18bff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = firefly-iii
pkgdesc = PHP personal finances manager
pkgver = 4.7.17
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/firefly-iii/firefly-iii
install = firefly-iii.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 4a0b80b63bc..10926f8e6e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com>
pkgname=firefly-iii
pkgver=4.7.17
-pkgrel=2
+pkgrel=3
pkgdesc='PHP personal finances manager'
arch=('any')
url="https://github.com/${pkgname}/${pkgname}"
@@ -34,6 +34,9 @@ package() {
done
ln -s "/etc/webapps/$pkgname/config.env" "$pkgdir/usr/share/webapps/$pkgname/.env"
+ rm -rf "$pkgdir/usr/share/webapps/$pkgname/bootstrap/cache"
+ mkdir -p "$pkgdir/var/cache/$pkgname"
+ ln -s "/var/cache/$pkgname" "$pkgdir/usr/share/webapps/$pkgname/bootstrap/cache"
}
# vim:ts=4:sw=4:expandtab