aboutsummaryrefslogtreecommitdiff
path: root/apks
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-18 21:30:05 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-18 21:30:40 +0000
commit3f8ef10024a2c5b7d94ee91c7b481a742bfcd156 (patch)
treeeb59486498be94455705d0beaef9e2d01ad907b3 /apks
parent849e6879eaadb3f71182c7bb9180678c20714807 (diff)
downloadapkbuilds-3f8ef10024a2c5b7d94ee91c7b481a742bfcd156.tar.gz
apkbuilds-3f8ef10024a2c5b7d94ee91c7b481a742bfcd156.tar.bz2
apkbuilds-3f8ef10024a2c5b7d94ee91c7b481a742bfcd156.zip
feat: Add initial APKBUILD for firefly3
Diffstat (limited to 'apks')
-rw-r--r--apks/firefly3/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/apks/firefly3/APKBUILD b/apks/firefly3/APKBUILD
new file mode 100644
index 0000000..a1b4f5e
--- /dev/null
+++ b/apks/firefly3/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
+pkgname=firefly3
+pkgver=5.7.13
+pkgrel=0
+pkgdesc="A free and open source personal finance manager"
+url="https://firefly-iii.org"
+arch="noarch"
+license="AGPL-3.0-only"
+_php=php8
+_php_mods="-curl -zip -sodium -gd -xml -mbstring -bcmath -fileinfo -session
+ -tokenizer -xmlwriter -dom -shmop"
+depends="$_php ${_php_mods//-/$_php-}"
+_php_makemods="-intl -pdo -simplexml"
+makedepends="$_php ${_php_makemods//-/$_php-} composer"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/firefly-iii/firefly-iii/archive/refs/tags/$pkgver.tar.gz"
+options="!check" # no clue how to run test on this
+builddir="$srcdir/firefly-iii-$pkgver/"
+
+package() {
+ local wwwdir="usr/share/webapps/$pkgname"
+
+ mkdir -p "$pkgdir"
+ cd "$pkgdir"
+
+ mkdir -p ./${wwwdir%/*}
+ cp -a "$builddir" ./$wwwdir
+
+ chmod +x ./$wwwdir/artisan
+
+ cd "$wwwdir" && composer install --prefer-dist --no-dev --no-scripts
+
+}
+sha512sums="
+a59f89305eeb6cdb301ca86a6a3dfacd90497ce887b59b7c426bef341e7a070efc0d430c6e40277273e5aa56b86271c652f80e696cc53f0788b0624dd1b66a46 firefly3-5.7.13.tar.gz
+"