Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/moneydance/
Date: Fri, 16 Nov 2018 23:01:59
Message-Id: 1542409301.e766b9a94f3719c9008b6ac82971a56ac55a8c45.monsieurp@gentoo
1 commit: e766b9a94f3719c9008b6ac82971a56ac55a8c45
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Thu Nov 1 23:02:08 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 16 23:01:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e766b9a9
7
8 app-office/moneydance: new package.
9
10 Moneydance is an easy-to-use personal finance software that is loaded with all the
11 features you need: online banking and bill payment, account management,
12 budgeting and investment tracking.
13
14 Closes: https://bugs.gentoo.org/19910
15 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
16 Package-Manager: Portage-2.3.51, Repoman-2.3.11
17 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
18
19 app-office/moneydance/Manifest | 2 +
20 app-office/moneydance/metadata.xml | 17 ++++++++
21 app-office/moneydance/moneydance-2017.8.ebuild | 59 ++++++++++++++++++++++++++
22 3 files changed, 78 insertions(+)
23
24 diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest
25 new file mode 100644
26 index 00000000000..00c1b8726d4
27 --- /dev/null
28 +++ b/app-office/moneydance/Manifest
29 @@ -0,0 +1,2 @@
30 +DIST moneydance-2017.8-amd64.tar.gz 132109962 BLAKE2B 4984b6266eed96337ab284168db1a167121daa6b454a338f348d1d724587e6dfd6a52c25ff739ca0e09a9c0441b1b582e59a571f001e8b2ddc6c5e10917100cd SHA512 53e46ee63ee89b86f3108045e9a16fdda637effb5edb719ccf7192632e6ebace607f40871ee54b5c5bde40821fdf2cbf89a5abd6eba0698618a8db8d848971c6
31 +DIST moneydance-2017.8-x86.tar.gz 134851425 BLAKE2B 4c40f30798b66d01b5abacc5cfbfa584a107f351de8bd2eb8c291aea6d96c122a36feb5ed092ea0aec4a99be7e1507f79551a1c6a1cd79365b8dfc52892a57bc SHA512 434fbd0c941a455c862963e572b7c1489fa19ccf30efb315af33eac3974acdad57292943d129433e6a59d3f233cd797b6697c0e82d9293ce0464d25ab8c32912
32
33 diff --git a/app-office/moneydance/metadata.xml b/app-office/moneydance/metadata.xml
34 new file mode 100644
35 index 00000000000..2c7b5849ff8
36 --- /dev/null
37 +++ b/app-office/moneydance/metadata.xml
38 @@ -0,0 +1,17 @@
39 +<?xml version="1.0" encoding="UTF-8"?>
40 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
41 +<pkgmetadata>
42 + <maintainer type="person">
43 + <email>ck+gentoo@××××××××.de</email>
44 + <name>Conrad Kostecki</name>
45 + </maintainer>
46 + <maintainer type="project">
47 + <email>proxy-maint@g.o</email>
48 + <name>Proxy Maintainers</name>
49 + </maintainer>
50 + <longdescription>
51 + Moneydance is easy to use personal finance software that is loaded
52 + with all the features you need: online banking and bill payment,
53 + account management, budgeting and investment tracking.
54 + </longdescription>
55 +</pkgmetadata>
56
57 diff --git a/app-office/moneydance/moneydance-2017.8.ebuild b/app-office/moneydance/moneydance-2017.8.ebuild
58 new file mode 100644
59 index 00000000000..f81dd0158f4
60 --- /dev/null
61 +++ b/app-office/moneydance/moneydance-2017.8.ebuild
62 @@ -0,0 +1,59 @@
63 +# Copyright 2018 Gentoo Authors
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +EAPI=6
67 +
68 +MY_PN="Moneydance"
69 +
70 +inherit desktop gnome2-utils java-pkg-2
71 +
72 +DESCRIPTION="A personal finance app for Mac, Windows, Linux, iPhone and iPad"
73 +HOMEPAGE="https://www.moneydance.com/"
74 +SRC_URI="
75 + amd64? ( https://infinitekind.com/stabledl/current/${MY_PN}_linux_amd64.tar.gz -> ${P}-amd64.tar.gz )
76 + x86? ( https://infinitekind.com/stabledl/current/${MY_PN}_linux_x86.tar.gz -> ${P}-x86.tar.gz )
77 +"
78 +
79 +LICENSE="Apache-1.0 Apache-2.0 BSD CPAL-1.0 CPL-1.0 CSL-2.0 LGPL-2 MIT TIK"
80 +SLOT="0"
81 +KEYWORDS="~amd64 ~x86"
82 +
83 +RDEPEND=">=virtual/jre-1.8:="
84 +DEPEND="${RDEPEND}"
85 +
86 +S="${WORKDIR}/${MY_PN}"
87 +
88 +RESTRICT="bindist fetch mirror"
89 +
90 +pkg_nofetch() {
91 + elog "Please download ${A} from"
92 + elog "https://www.infinitekind.com/download-moneydance-personal-finance-software"
93 + elog "and place it in your DISTDIR directory."
94 +}
95 +
96 +src_prepare() {
97 + default
98 +
99 + # Modify .desktop file, to fix QA errors
100 + sed -e 's/Application;//g' -e 's/.png//g' -i resources/moneydance.desktop || die
101 +}
102 +
103 +src_compile() {
104 + :;
105 +}
106 +
107 +src_install() {
108 + java-pkg_dojar jars/*.jar
109 + java-pkg_dolauncher moneydance --main "Moneydance" --java_args "-client -Dawt.useSystemAAFontSettings=gasp -Dawt.useSystemAAFontSettings=on -Xmx1024m"
110 +
111 + doicon resources/*.png
112 + domenu resources/moneydance.desktop
113 +}
114 +
115 +pkg_postinst() {
116 + gnome2_icon_cache_update
117 +}
118 +
119 +pkg_postrm() {
120 + gnome2_icon_cache_update
121 +}