diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 20:52:57 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 23:55:15 +0100 |
commit | df71d047071d275476adb2897ae05cd1ebf9709d (patch) | |
tree | 8667c8fa73d245932e090876a00d3f7ad611999e /app-office/moneydance | |
parent | app-misc/transfolio: drop 1.0.1-r1 (diff) | |
download | gentoo-df71d047071d275476adb2897ae05cd1ebf9709d.tar.gz gentoo-df71d047071d275476adb2897ae05cd1ebf9709d.tar.bz2 gentoo-df71d047071d275476adb2897ae05cd1ebf9709d.zip |
app-office/moneydance: add 2022.4060
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-office/moneydance')
-rw-r--r-- | app-office/moneydance/Manifest | 1 | ||||
-rw-r--r-- | app-office/moneydance/moneydance-2022.4060.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-office/moneydance/Manifest b/app-office/moneydance/Manifest index 354a527e2645..5bba1f7b3e2a 100644 --- a/app-office/moneydance/Manifest +++ b/app-office/moneydance/Manifest @@ -1 +1,2 @@ DIST moneydance-2022.4058-amd64.tar.gz 161507291 BLAKE2B eee61045518b9a40b213f9d24c7e26a394c0bb13aaee1df146d4bbc94f73703a585ac268bfa8ae1a211939f1f3c1716e9ed9a1e37895c5c10a643bc3ac4e6410 SHA512 835b697cd218f406cdcbd6194a1c59e0a4bcb899c05be7cb95ef586e44285610e90e90727899a23edabd9a566ea7ed6a058ad8274b6f460df80d6051127f3edd +DIST moneydance-2022.4060-amd64.tar.gz 162748176 BLAKE2B 0bc86e2999d7c33315d888018e985f708f8e67b494df33f73303b50c4e49f8ebd9e2f74d649ba23ea41aa762194d3ef0740f62b72cf71f53a3c4775a24425670 SHA512 3ef2bdc7ae23208c3746867683ff07af2d272c3ed2f6db37d35e3c29b6549db255ff8170e619788133de60cc79d9cd0539a34037cba4a60a65dd145a5a77838a diff --git a/app-office/moneydance/moneydance-2022.4060.ebuild b/app-office/moneydance/moneydance-2022.4060.ebuild new file mode 100644 index 000000000000..f220cd11aeeb --- /dev/null +++ b/app-office/moneydance/moneydance-2022.4060.ebuild @@ -0,0 +1,53 @@ +# Copyright 2018-2022 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)_$(ver_cut 2)" + +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:11 + dev-java/openjdk:11 + ) +" + +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 +} |