app-office/jameica-bin: new package, add 2.10.2

Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
This commit is contained in:
Adrian Schollmeyer
2022-10-25 18:25:55 +02:00
parent 7a983ae144
commit bcb83e6ae9
3 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST jameica-linux64-2.10.2.zip 28871016 BLAKE2B 4f37d0d96da37845da4b3da6ae3dbc4e891027f304ed2eeae6bbe566c25a00d1fae6b16e5cd970d8c73f12cc3dbeb7c8967aa673945b6b9306ff5ad23ae60492 SHA512 60645c31ebfd2580cfe4c4778cdcd2bbfda985fcdf2c6e5d01ecef51d054eaaa623c6b59ee7c55f1c77d371afc3c09622cc872cf3dac8938a203d06e524a55f9

View File

@@ -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}
}

View File

@@ -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>nex+b-g-o@nexadn.de</email>
</maintainer>
</pkgmetadata>