Skip to content

Commit

Permalink
app-office/moneydance: new package.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
ConiKost authored and monsieurp committed Nov 16, 2018
1 parent bfae075 commit e766b9a
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app-office/moneydance/Manifest
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions app-office/moneydance/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Conrad Kostecki</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</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>
59 changes: 59 additions & 0 deletions app-office/moneydance/moneydance-2017.8.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit e766b9a

Please sign in to comment.