summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSLO22019-06-11 20:59:59 +0800
committerangelsl2019-06-11 21:17:41 +0800
commit7af57a2b3ef6dc0f17146165280aaf5362b64d4c (patch)
tree5652ec1f69c277ae3a7030e98789f6e3ba989474
parent7f32bf228055cf0fbbdc85f6bb4529eaab891fed (diff)
downloadaur-7af57a2b3ef6dc0f17146165280aaf5362b64d4c.tar.gz
Update to 4.7.17
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90bbbf45571..7cd6f986684 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = firefly-iii
pkgdesc = PHP personal finances manager
- pkgver = 4.7.11
+ pkgver = 4.7.17
pkgrel = 1
url = https://github.com/firefly-iii/firefly-iii
install = firefly-iii.install
@@ -11,9 +11,9 @@ pkgbase = firefly-iii
backup = etc/webapps/firefly-iii/config.env
backup = etc/webapps/firefly-iii/config.env.docker
backup = etc/webapps/firefly-iii/config.env.sandstorm
- backup = etc/webapps/firefly-iii/config.env.testing
- source = firefly-iii-4.7.11.tar.gz::https://github.com/firefly-iii/firefly-iii/archive/4.7.11.tar.gz
- sha256sums = 3a7f796502c5bb7d3fce956abf43b25040824c7322b8d59615c0e6be61fe8e52
+ 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
+ sha256sums = f070089d89f2ac5f27c1c2adaadc911d0779533978226606c5f6d8d69cf5d1db
pkgname = firefly-iii
diff --git a/PKGBUILD b/PKGBUILD
index 4444d23800c..48538b7fea6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com>
pkgname=firefly-iii
-pkgver=4.7.11
+pkgver=4.7.17
pkgrel=1
pkgdesc='PHP personal finances manager'
arch=('any')
@@ -9,25 +9,27 @@ license=('custom')
depends=('php-intl')
makedepends=('composer')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('3a7f796502c5bb7d3fce956abf43b25040824c7322b8d59615c0e6be61fe8e52')
+sha256sums=('f070089d89f2ac5f27c1c2adaadc911d0779533978226606c5f6d8d69cf5d1db')
install=$pkgname.install
backup=(
"etc/webapps/$pkgname/config.env"
"etc/webapps/$pkgname/config.env.docker"
"etc/webapps/$pkgname/config.env.sandstorm"
- "etc/webapps/$pkgname/config.env.testing")
+ "etc/webapps/$pkgname/config.env.heroku")
package() {
cd "$srcdir/$pkgname-$pkgver"
+ composer install --no-scripts --no-dev --ignore-platform-reqs
+
install -d "$pkgdir/usr/share/webapps/$pkgname" "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/etc/webapps/$pkgname"
cp -rv * "$pkgdir/usr/share/webapps/$pkgname"
install -D "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
- mv -v '.env.example' '.env'
- mv -v ".env"* "$pkgdir/etc/webapps/$pkgname"
+ cp -v .env.example "$pkgdir/etc/webapps/$pkgname/.env"
+ cp -v .deploy/*/.env* "$pkgdir/etc/webapps/$pkgname"
- for i in '' '.docker' '.sandstorm' '.testing' ; do
+ for i in '' '.docker' '.sandstorm' '.heroku' ; do
mv -v "$pkgdir/etc/webapps/$pkgname/.env$i" "$pkgdir/etc/webapps/$pkgname/config.env$i"
done
}