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-2023.1.5006.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest
index d14d706e0fc8..b3d4596f2076 100644
--- a/app-office/moneydance/Manifest
+++ b/app-office/moneydance/Manifest
@@ -1 +1,2 @@
DIST moneydance-2022.4060-amd64.tar.gz 162748176 BLAKE2B 0bc86e2999d7c33315d888018e985f708f8e67b494df33f73303b50c4e49f8ebd9e2f74d649ba23ea41aa762194d3ef0740f62b72cf71f53a3c4775a24425670 SHA512 3ef2bdc7ae23208c3746867683ff07af2d272c3ed2f6db37d35e3c29b6549db255ff8170e619788133de60cc79d9cd0539a34037cba4a60a65dd145a5a77838a
+DIST moneydance-2023.1.5006-amd64.tar.gz 144279192 BLAKE2B eb8f5f0a8c5451cedeca0535714f36cb725fc0a2bf7f5ce2f293a4bb4b0ff97a7164d7531649b26b88148626d6557ccf434a6c5274864c912156dc0f99b0005a SHA512 adac2331c6a8b686142bf4eeecd1ad76cefe952b19e84447adebbf678216d3584708fd1bb0f11dcfe6177349a69e4859d81f98a2e08eff7ea8b5061ae2966c13
diff --git a/app-office/moneydance/moneydance-2023.1.5006.ebuild b/app-office/moneydance/moneydance-2023.1.5006.ebuild
new file mode 100644
index 000000000000..cb4920436788
--- /dev/null
+++ b/app-office/moneydance/moneydance-2023.1.5006.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2018-2023 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-2)_$(ver_cut 3)"
+
+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
+}