summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conrad@kostecki.com>2018-11-02 00:02:08 +0100
committerPatrice Clement <monsieurp@gentoo.org>2018-11-17 00:01:41 +0100
commite766b9a94f3719c9008b6ac82971a56ac55a8c45 (patch)
treed61a2c825521f19f00ac215b2c9b041bb245f2fa /app-office/moneydance
parentprofiles/license_groups: added TIK license to EULA group. (diff)
downloadgentoo-e766b9a94f3719c9008b6ac82971a56ac55a8c45.tar.gz
gentoo-e766b9a94f3719c9008b6ac82971a56ac55a8c45.tar.bz2
gentoo-e766b9a94f3719c9008b6ac82971a56ac55a8c45.zip
app-office/moneydance: new package.
Moneydance is an easy-to-use personal finance software that is loaded with all the features you need: online banking and bill payment, account management, budgeting and investment tracking. Closes: https://bugs.gentoo.org/19910 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-office/moneydance')
-rw-r--r--app-office/moneydance/Manifest2
-rw-r--r--app-office/moneydance/metadata.xml17
-rw-r--r--app-office/moneydance/moneydance-2017.8.ebuild59
3 files changed, 78 insertions, 0 deletions
diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest
new file mode 100644
index 000000000000..00c1b8726d4d
--- /dev/null
+++ b/app-office/moneydance/Manifest
@@ -0,0 +1,2 @@
+DIST moneydance-2017.8-amd64.tar.gz 132109962 BLAKE2B 4984b6266eed96337ab284168db1a167121daa6b454a338f348d1d724587e6dfd6a52c25ff739ca0e09a9c0441b1b582e59a571f001e8b2ddc6c5e10917100cd SHA512 53e46ee63ee89b86f3108045e9a16fdda637effb5edb719ccf7192632e6ebace607f40871ee54b5c5bde40821fdf2cbf89a5abd6eba0698618a8db8d848971c6
+DIST moneydance-2017.8-x86.tar.gz 134851425 BLAKE2B 4c40f30798b66d01b5abacc5cfbfa584a107f351de8bd2eb8c291aea6d96c122a36feb5ed092ea0aec4a99be7e1507f79551a1c6a1cd79365b8dfc52892a57bc SHA512 434fbd0c941a455c862963e572b7c1489fa19ccf30efb315af33eac3974acdad57292943d129433e6a59d3f233cd797b6697c0e82d9293ce0464d25ab8c32912
diff --git a/app-office/moneydance/metadata.xml b/app-office/moneydance/metadata.xml
new file mode 100644
index 000000000000..2c7b5849ff8c
--- /dev/null
+++ b/app-office/moneydance/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Moneydance is easy to use personal finance software that is loaded
+ with all the features you need: online banking and bill payment,
+ account management, budgeting and investment tracking.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-office/moneydance/moneydance-2017.8.ebuild b/app-office/moneydance/moneydance-2017.8.ebuild
new file mode 100644
index 000000000000..f81dd0158f4b
--- /dev/null
+++ b/app-office/moneydance/moneydance-2017.8.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="Moneydance"
+
+inherit desktop gnome2-utils java-pkg-2
+
+DESCRIPTION="A personal finance app for Mac, Windows, Linux, iPhone and iPad"
+HOMEPAGE="https://www.moneydance.com/"
+SRC_URI="
+ amd64? ( https://infinitekind.com/stabledl/current/${MY_PN}_linux_amd64.tar.gz -> ${P}-amd64.tar.gz )
+ x86? ( https://infinitekind.com/stabledl/current/${MY_PN}_linux_x86.tar.gz -> ${P}-x86.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 ~x86"
+
+RDEPEND=">=virtual/jre-1.8:="
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}"
+
+RESTRICT="bindist fetch mirror"
+
+pkg_nofetch() {
+ elog "Please download ${A} from"
+ elog "https://www.infinitekind.com/download-moneydance-personal-finance-software"
+ elog "and place it in your DISTDIR directory."
+}
+
+src_prepare() {
+ default
+
+ # Modify .desktop file, to fix QA errors
+ sed -e 's/Application;//g' -e 's/.png//g' -i resources/moneydance.desktop || die
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ java-pkg_dojar jars/*.jar
+ java-pkg_dolauncher moneydance --main "Moneydance" --java_args "-client -Dawt.useSystemAAFontSettings=gasp -Dawt.useSystemAAFontSettings=on -Xmx1024m"
+
+ doicon resources/*.png
+ domenu resources/moneydance.desktop
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}