summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/moneydance')
-rw-r--r--app-office/moneydance/Manifest1
-rw-r--r--app-office/moneydance/moneydance-2021.2006.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest
index 031cdb951ea7..5cf56f4daebe 100644
--- a/app-office/moneydance/Manifest
+++ b/app-office/moneydance/Manifest
@@ -1 +1,2 @@
DIST moneydance-2020.2.1929-amd64.tar.gz 146171665 BLAKE2B b211265f3b6f51aa07a8d3fcd4945dd76a5a6775722fd938782bc53f5b920e13d1acf721f822bc64fde790ab8449d975be0f6e954b80049583278649e2487e91 SHA512 7017b06c50f9814005aaefb522f4e2b6f0011af08bb0daced7fa7d64a0f4a39cb81a01d62d72e9d06062529d5e4056811ab0129fb54bad52a83a99fccb0a546b
+DIST moneydance-2021.2006-amd64.tar.gz 154878776 BLAKE2B 89327c48f6a5794f2272956ef39a8c1a2da3b6cccc380d83df6973cd89245108e6eecb22938036db94442d4f88d109a89c5055085737063a3268638140ae231a SHA512 13f09c4410ac60f9e9d3a8dced47e5f66cf55e83274302d60ca4cab0e04b7de38f8004886c6b8fc96f3e30b938fe9394a946627346741436e2e52c301ae23e0c
diff --git a/app-office/moneydance/moneydance-2021.2006.ebuild b/app-office/moneydance/moneydance-2021.2006.ebuild
new file mode 100644
index 000000000000..a2134d7b3e9d
--- /dev/null
+++ b/app-office/moneydance/moneydance-2021.2006.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+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-11.0
+ >=dev-java/openjdk-11.0
+ )
+"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}"
+
+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
+}