summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD14
-rw-r--r--firefly-iii.install4
3 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a615f5210ed..353f69aa15b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = firefly-iii
pkgdesc = PHP personal finances manager
- pkgver = 4.7.17
- pkgrel = 4
+ pkgver = 4.7.17.3
+ pkgrel = 1
url = https://github.com/firefly-iii/firefly-iii
- install = firefly-iii.install
arch = any
license = custom
makedepends = composer
@@ -12,7 +11,7 @@ pkgbase = firefly-iii
backup = etc/webapps/firefly-iii/config.env.docker
backup = etc/webapps/firefly-iii/config.env.sandstorm
backup = etc/webapps/firefly-iii/config.env.heroku
- source = firefly-iii-4.7.17.tar.gz::https://github.com/firefly-iii/firefly-iii/archive/4.7.17.tar.gz
+ source = firefly-iii-4.7.17.3.tar.gz::https://github.com/firefly-iii/firefly-iii/archive/4.7.17.3.tar.gz
sha256sums = f070089d89f2ac5f27c1c2adaadc911d0779533978226606c5f6d8d69cf5d1db
pkgname = firefly-iii
diff --git a/PKGBUILD b/PKGBUILD
index f2080312837..1646ddb3356 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=4
+pkgver=4.7.17.3
+pkgrel=1
pkgdesc='PHP personal finances manager'
arch=('any')
url="https://github.com/${pkgname}/${pkgname}"
@@ -9,9 +9,8 @@ license=('custom')
depends=('php-intl')
makedepends=('composer')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('f070089d89f2ac5f27c1c2adaadc911d0779533978226606c5f6d8d69cf5d1db')
+sha256sums=('6e9495293f5702d1c30b87ec63c94728a2bbe40fe45265900d8f1f9824c8cf07')
-install=$pkgname.install
backup=(
"etc/webapps/$pkgname/config.env"
"etc/webapps/$pkgname/config.env.docker"
@@ -35,9 +34,16 @@ package() {
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"
chown http:http "$pkgdir/var/cache/$pkgname"
ln -s "/var/cache/$pkgname" "$pkgdir/usr/share/webapps/$pkgname/bootstrap/cache"
+
+ mkdir -p "$pkgdir/var/lib"
+ mv "$pkgdir/usr/share/webapps/$pkgname/storage" "$pkgdir/var/lib/firefly-iii"
+ chown -R http:http "$pkgdir/var/lib/firefly-iii"
+ chmod 775 "$pkgdir/var/lib/firefly-iii"
+ ln -s "/var/lib/firefly-iii" "$pkgdir/usr/share/webapps/$pkgname/storage"
}
# vim:ts=4:sw=4:expandtab
diff --git a/firefly-iii.install b/firefly-iii.install
deleted file mode 100644
index a8eada5958b..00000000000
--- a/firefly-iii.install
+++ /dev/null
@@ -1,4 +0,0 @@
-post_install() {
- chown -R http:http /usr/share/webapps/firefly-iii/storage
- chmod 775 /usr/share/webapps/firefly-iii/storage
-}