From 480b0f693752ae976d195f198bceb82533bc3790 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 2 Sep 2022 09:20:38 -0400 Subject: [PATCH 1/2] New package: firefly-iii-5.7.11 --- srcpkgs/firefly-iii/template | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 srcpkgs/firefly-iii/template diff --git a/srcpkgs/firefly-iii/template b/srcpkgs/firefly-iii/template new file mode 100644 index 000000000000..3d3b372b1e51 --- /dev/null +++ b/srcpkgs/firefly-iii/template @@ -0,0 +1,48 @@ +# Template file for 'firefly-iii' +pkgname=firefly-iii +version=5.7.11 +revision=1 +conf_files="/etc/webapps/firefly-iii/firefly-iii.conf" +hostmakedepends="composer8.0 unzip" +depends="php8.0 php8.0-intl php8.0-sodium php8.0-gd" +short_desc="Web-based personal finances manager" +maintainer="Joel Beckmeyer " +license="AGPL-3.0-or-later" +homepage="https://github.com/firefly-iii/firefly-iii" +changelog="https://raw.githubusercontent.com/firefly-iii/firefly-iii/main/changelog.md" +distfiles="https://github.com/firefly-iii/firefly-iii/archive/refs/tags/${version}.tar.gz" +checksum=954f686c88bb7f6ef73e956b239f51d56542a2a70337db1ad8cfb2f6184068db +make_dirs="/var/lib/firefly-iii/storage 0750 http http + /var/lib/firefly-iii/storage/app/public 0750 http http + /var/lib/firefly-iii/storage/build 0750 http http + /var/lib/firefly-iii/storage/database 0750 http http + /var/lib/firefly-iii/storage/debugbar 0750 http http + /var/lib/firefly-iii/storage/export 0750 http http + /var/lib/firefly-iii/storage/framework/cache/data 0750 http http + /var/lib/firefly-iii/storage/framework/sessions 0750 http http + /var/lib/firefly-iii/storage/framework/testing 0750 http http + /var/lib/firefly-iii/storage/framework/views 0750 http http + /var/lib/firefly-iii/storage/framework/views/v1 0750 http http + /var/lib/firefly-iii/storage/logs 0750 http http + /var/lib/firefly-iii/storage/upload 0750 http http + /var/cache/firefly-iii 0750 http http" + +do_build() { + composer8.0 install --no-scripts --no-dev --ignore-platform-reqs +} + +do_install() { + vmkdir usr/share/webapps/ + vcopy ${wrksrc} usr/share/webapps/firefly-iii + + vinstall .env.example 644 /etc/webapps/firefly-iii firefly-iii.conf + ln -s /etc/webapps/firefly-iii/firefly-iii.conf ${DESTDIR}/usr/share/webapps/firefly-iii/.env + + rm -rf ${DESTDIR}/usr/share/webapps/firefly-iii/storage + ln -s /var/lib/firefly-iii/storage ${DESTDIR}/usr/share/webapps/firefly-iii + + rm -rf ${DESTDIR}/usr/share/webapps/firefly-iii/bootstrap/cache + ln -s /var/cache/firefly-iii ${DESTDIR}/usr/share/webapps/firefly-iii/bootstrap/cache + + vlicense LICENSE +} From bf4f69fe676d26f1dde92c2c11693d0654ed942d Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 7 Sep 2022 17:30:43 -0400 Subject: [PATCH 2/2] New package: firefly-iii-data-importer-0.9.15 --- srcpkgs/firefly-iii-data-importer/template | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 srcpkgs/firefly-iii-data-importer/template diff --git a/srcpkgs/firefly-iii-data-importer/template b/srcpkgs/firefly-iii-data-importer/template new file mode 100644 index 000000000000..6be5abccf8c1 --- /dev/null +++ b/srcpkgs/firefly-iii-data-importer/template @@ -0,0 +1,51 @@ +# Template file for 'firefly-iii-data-importer' +pkgname=firefly-iii-data-importer +version=0.9.15 +revision=1 +wrksrc="data-importer-${version}" +conf_files="/etc/webapps/firefly-iii-data-importer/data-importer.conf" +hostmakedepends="composer8.0 unzip" +depends="php8.0" +short_desc="Can import data into Firefly III" +maintainer="Joel Beckmeyer " +license="AGPL-3.0-or-later" +homepage="https://github.com/firefly-iii/data-importer" +changelog="https://raw.githubusercontent.com/firefly-iii/data-importer/main/changelog.md" +distfiles="https://github.com/firefly-iii/data-importer/archive/refs/tags/${version}.tar.gz" +checksum=6f4252a66d8771b12642404b6da38e5178e91c78492417bce61fdf8efa1ceb91 +make_dirs="/var/lib/firefly-iii-data-importer/storage/app/public 0750 http http + /var/lib/firefly-iii-data-importer/storage/configurations 0750 http http + /var/lib/firefly-iii-data-importer/storage/conversion-routines 0750 http http + /var/lib/firefly-iii-data-importer/storage/debugbar 0750 http http + /var/lib/firefly-iii-data-importer/storage/framework/cache/data 0750 http http + /var/lib/firefly-iii-data-importer/storage/framework/sessions 0750 http http + /var/lib/firefly-iii-data-importer/storage/framework/testing 0750 http http + /var/lib/firefly-iii-data-importer/storage/framework/views 0750 http http + /var/lib/firefly-iii-data-importer/storage/jobs 0750 http http + /var/lib/firefly-iii-data-importer/storage/logs 0750 http http + /var/lib/firefly-iii-data-importer/storage/submission-routines 0750 http http + /var/lib/firefly-iii-data-importer/storage/uploads 0750 http http + /var/cache/firefly-iii-data-importer 0750 http http" + +do_build() { + composer8.0 install --no-scripts --no-dev --ignore-platform-reqs +} + +do_install() { + vmkdir usr/share/webapps/ + vcopy ${wrksrc} usr/share/webapps/firefly-iii-data-importer + + vinstall .env.example 644 /etc/webapps/firefly-iii-data-importer data-importer.conf + ln -s /etc/webapps/firefly-iii-data-importer/data-importer.conf \ + ${DESTDIR}/usr/share/webapps/firefly-iii-data-importer/.env + + rm -rf ${DESTDIR}/usr/share/webapps/firefly-iii-data-importer/storage + ln -s /var/lib/firefly-iii-data-importer/storage \ + ${DESTDIR}/usr/share/webapps/firefly-iii-data-importer + + rm -rf ${DESTDIR}/usr/share/webapps/firefly-iii-data-importer/bootstrap/cache + ln -s /var/cache/firefly-iii-data-importer \ + ${DESTDIR}/usr/share/webapps/firefly-iii-data-importer/bootstrap/cache + + vlicense LICENSE +}