summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-10-09 23:02:21 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-10-10 12:37:07 +0200
commit4ad95293e3c02f836d780a83d2885b36379992db (patch)
tree0c3a15df7229e19a92d8f4ec19fb356d99a56c7a /app-office/moneydance
parentapp-office/moneydance: drop old version (diff)
downloadgentoo-4ad95293e3c02f836d780a83d2885b36379992db.tar.gz
gentoo-4ad95293e3c02f836d780a83d2885b36379992db.tar.bz2
gentoo-4ad95293e3c02f836d780a83d2885b36379992db.zip
app-office/moneydance: bump to version 2020.2
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-office/moneydance')
-rw-r--r--app-office/moneydance/Manifest1
-rw-r--r--app-office/moneydance/moneydance-2020.2.1929.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest
index 0fca4b60a1a2..42c323f13f16 100644
--- a/app-office/moneydance/Manifest
+++ b/app-office/moneydance/Manifest
@@ -1 +1,2 @@
DIST moneydance-2020.0.1919-amd64.tar.gz 146128581 BLAKE2B a7c2bfd940b4203beeaaeefd018746920f26c6902a9b942f7498fbd1184a5c5d5363d2b46238119b8dcbd963c1b584ab66f1101825ac1f31157a4907938557dc SHA512 c67b284f610fe14809bf1382371fba72e792f938e12ef1b8ee032b161a2547cad3579d5b0d41644566b37f35591d42d77a4fdc3515bb95da772054ac10c083f6
+DIST moneydance-2020.2.1929-amd64.tar.gz 146171665 BLAKE2B b211265f3b6f51aa07a8d3fcd4945dd76a5a6775722fd938782bc53f5b920e13d1acf721f822bc64fde790ab8449d975be0f6e954b80049583278649e2487e91 SHA512 7017b06c50f9814005aaefb522f4e2b6f0011af08bb0daced7fa7d64a0f4a39cb81a01d62d72e9d06062529d5e4056811ab0129fb54bad52a83a99fccb0a546b
diff --git a/app-office/moneydance/moneydance-2020.2.1929.ebuild b/app-office/moneydance/moneydance-2020.2.1929.ebuild
new file mode 100644
index 000000000000..6917a58332e4
--- /dev/null
+++ b/app-office/moneydance/moneydance-2020.2.1929.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-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"
+
+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
+}