gui-apps/openrefine: new package, add 3.7.9

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-02-15 03:19:18 +04:00
parent 5dd4c6f120
commit 8fdcbbb722
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST openrefine-linux-3.7.9.tar.gz 148721150 BLAKE2B c464b5038a754155a6e30c08a1c5fd626cc116706bc643e9802089fd87014ac2af0d03d0e3752004a2c0d27e5efa5e641ae8ec4ac546d0030f64e9ce82a75a22 SHA512 7786bef57d4b8341353e00ecfcf2dcbb6ce5161c4f65cab34e9555506711169f4020beed012e9388b3ff3c6ab666595acc1856d717dcaa3811a6765ded76ea59

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zdanevich.vitaly@ya.ru</email>
<name>Vitaly Zdanevich</name>
</maintainer>
<longdescription>
OpenRefine is a powerful free, open source tool for working with messy data: cleaning it; transforming it from one format into another; and extending it with web services and external data.
</longdescription>
<upstream>
<remote-id type="github">OpenRefine/OpenRefine</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit wrapper
DESCRIPTION="Wikidata batch editor, Wikimedia Commons mass upload tool"
HOMEPAGE="https://openrefine.org"
SRC_URI="https://github.com/OpenRefine/OpenRefine/releases/download/${PV}/${PN}-linux-${PV}.tar.gz"
KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
DEPEND="
dev-java/maven-bin
net-libs/nodejs
virtual/jre
"
src_install() {
local apphome="/opt/${PN}"
mkdir -p "${ED}/${apphome}" || die
mkdir tools build || die
chmod 775 tools build || die
keepdir /opt/openrefine/tools
keepdir /opt/openrefine/build
# dosym "${apphome}/refine" /usr/bin/refine
cp -r . "${ED}/${apphome}" || die
make_wrapper refine "
env REFINE_LIB_DIR=/opt/openrefine/server/target/lib \
REFINE_TOOLS_DIR=/opt/openrefine/tools \
REFINE_CLASSES_DIR=/opt/openrefine/server/classes \
REFINE_WEBAPP=/opt/openrefine/main/webapp /opt/openrefine/refine"
}
pkg_postinst() {
elog "In order to use ${PN} run refine in a terminal, from Dmenu also works"
}