summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-04-17 13:46:55 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-04-17 16:11:25 +0200
commite34693b846340f6d136350cdf290ff00ec8bea5d (patch)
tree45648e2d973ea96e98e3b6666a3dc478c9d70fae /app-office
parentapp-benchmarks/stress-ng: add 0.17.07, drop 0.17.06 (diff)
downloadgentoo-e34693b846340f6d136350cdf290ff00ec8bea5d.tar.gz
gentoo-e34693b846340f6d136350cdf290ff00ec8bea5d.tar.bz2
gentoo-e34693b846340f6d136350cdf290ff00ec8bea5d.zip
app-office/moneydance: add 2024.5117
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/moneydance/Manifest1
-rw-r--r--app-office/moneydance/moneydance-2024.5117.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest
index a98cddd756bf..0e0da766583b 100644
--- a/app-office/moneydance/Manifest
+++ b/app-office/moneydance/Manifest
@@ -1 +1,2 @@
DIST moneydance-2023.3.5064-amd64.tar.gz 149144383 BLAKE2B 5a33330a93a6e0b973f544a66071ed4cafc22d60fed82fa1c791d06a4add209cd355331a7aae5fced070fed8de8461c72133129788905a717c4a4685abd9b443 SHA512 0da77143e9a4449946c392cc02d98c3a0a7080666b2d6f26d49c660f600d8c2534281cdaa689f01142a23bc106a170b7dc576b113795408682402a117285c101
+DIST moneydance-2024.5117-amd64.tar.gz 146426222 BLAKE2B f7fe5572c7b25a2bee0500e62a12a46e05c5c42916c9e3a65ea55af6fcb150afb8edd5304adc317a3ca94c95e8fb2d1405d06bd68e89db3c71d07ef31ffb0aa1 SHA512 1dc45e5ef195f71d7ec95037f6a1b42cf946feebf82d7b7c238c21bfa467546c983d5f77df5836d7d04e3081c08366eb4b1d1c70fccb83274d758c9419b669b5
diff --git a/app-office/moneydance/moneydance-2024.5117.ebuild b/app-office/moneydance/moneydance-2024.5117.ebuild
new file mode 100644
index 000000000000..16ed7e74f2be
--- /dev/null
+++ b/app-office/moneydance/moneydance-2024.5117.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2018-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop java-pkg-2 xdg-utils
+
+MY_PN="Moneydance"
+MY_PV="$(ver_cut 1)_$(ver_cut 2)"
+
+DESCRIPTION="A cross-platform personal finance application"
+HOMEPAGE="https://moneydance.com/"
+SRC_URI="https://infinitekind.com/stabledl/${MY_PV}/${MY_PN}_linux_amd64.tar.gz -> ${P}-amd64.tar.gz"
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="Apache-1.0 Apache-2.0 BSD CPAL-1.0 CPL-1.0 CSL-2.0 LGPL-2 MIT TIK"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="|| (
+ dev-java/openjdk-bin:17
+ dev-java/openjdk:17
+ )
+"
+
+DEPEND="${RDEPEND}"
+
+RESTRICT="bindist mirror"
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ java-pkg_dojar lib/*.jar
+
+ newbin "${FILESDIR}/moneydance-bin" moneydance
+
+ local iconsizes="32 128 512"
+ for iconsize in ${iconsizes}; do
+ newicon -s ${iconsize} resources/moneydance_icon${iconsize}.png moneydance.png
+ done
+
+ make_desktop_entry "moneydance" "Moneydance" moneydance Office
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}