commit: bcb83e6ae99890fd47659d9cadc1dfdef09d8e3f
Author: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
AuthorDate: Tue Oct 25 16:25:55 2022 +0000
Commit: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
CommitDate: Tue Oct 25 18:21:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bcb83e6a
app-office/jameica-bin: new package, add 2.10.2
Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
app-office/jameica-bin/Manifest | 1 +
app-office/jameica-bin/jameica-bin-2.10.2.ebuild | 61 ++++++++++++++++++++++++
app-office/jameica-bin/metadata.xml | 7 +++
3 files changed, 69 insertions(+)
diff --git a/app-office/jameica-bin/Manifest b/app-office/jameica-bin/Manifest
new file mode 100644
index 000000000..c7f04e8d2
--- /dev/null
+++ b/app-office/jameica-bin/Manifest
@@ -0,0 +1 @@
+DIST jameica-linux64-2.10.2.zip 28871016 BLAKE2B
4f37d0d96da37845da4b3da6ae3dbc4e891027f304ed2eeae6bbe566c25a00d1fae6b16e5cd970d8c73f12cc3dbeb7c8967aa673945b6b9306ff5ad23ae60492
SHA512
60645c31ebfd2580cfe4c4778cdcd2bbfda985fcdf2c6e5d01ecef51d054eaaa623c6b59ee7c55f1c77d371afc3c09622cc872cf3dac8938a203d06e524a55f9
diff --git a/app-office/jameica-bin/jameica-bin-2.10.2.ebuild
b/app-office/jameica-bin/jameica-bin-2.10.2.ebuild
new file mode 100644
index 000000000..711aaf170
--- /dev/null
+++ b/app-office/jameica-bin/jameica-bin-2.10.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN%-bin}"
+
+inherit desktop systemd
+
+DESCRIPTION="Local platform for home banking"
+HOMEPAGE="https://willuhn.de/"
+SRC_URI="https://willuhn.de/products/jameica/releases/current/jameica/jameica-linux64-${PV}.zip"
+
+# Jameica: GPL-2
+# lib/apache_xmlrpc, lib/jakarta_commons, lib/velocity: Apache-2.0
+# lib/swt: CPL-1.0 LGPL-2 MPL-1.1
+# lib/h2: EPL-1.0 MPL-2.0
+# lib/paperclips: EPL-1.0
+# lib/mckoi, lib/mysql: GPL-2
+# lib/de_willuhn_ds, lib/de_willuhn_util, lib/swtcalendar: LGPL-2
+# lib/bouncycastle: MIT
+# lib/nanoxml: ZLIB
+LICENSE="Apache-2.0 CPL-1.0 EPL-1.0 GPL-2 LGPL-2 MIT MPL-1.1 MPL-2.0 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ virtual/jre
+"
+BDEPEND="
+ app-arch/unzip
+"
+
+S="${WORKDIR}/jameica"
+
+JAMEICA_INSFILES=( jameica-icon.png jameica{,-linux64}.jar lib plugin.xml )
+JAMEICA_EXEFILES=( jameicaserver.sh jameica.sh rcjameica-systemd )
+
+src_install() {
+ dodoc README
+
+ insinto /opt/${MY_PN}
+ doins -r "${JAMEICA_INSFILES[@]}"
+ exeinto /opt/${MY_PN}
+ doexe "${JAMEICA_EXEFILES[@]}"
+
+ systemd_dounit "${MY_PN}.service"
+
+ # There is plenty of dirt, mainly in the bundled libs
+ find "${ED}/opt/${MY_PN}" -type f \( \
+ -name "LICENSE" \
+ -o -name "license.txt" \
+ -o -name "license.html" \
+ -o -name "lgpl*.txt" \
+ -o -name "mpl*.txt" \
+ -o -name "webkit-bsd.txt" \
+ -o -name "*README*" \
+ \) -delete || die
+
+ make_desktop_entry "/bin/sh /opt/${MY_PN}/jameica.sh" ${MY_PN}
+}
diff --git a/app-office/jameica-bin/metadata.xml
b/app-office/jameica-bin/metadata.xml
new file mode 100644
index 000000000..a73f862f9
--- /dev/null
+++ b/app-office/jameica-bin/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ </maintainer>
+</pkgmetadata>