mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
gui-apps/openrefine: add 3.10.1
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
49
gui-apps/openrefine/openrefine-3.10.1.ebuild
Normal file
49
gui-apps/openrefine/openrefine-3.10.1.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# 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
|
||||
commons? ( https://github.com/OpenRefine/CommonsExtension/releases/download/v0.1.1/openrefine-commons-0.1.1.zip )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="+commons"
|
||||
|
||||
DEPEND="
|
||||
virtual/jre
|
||||
dev-java/maven-bin
|
||||
net-libs/nodejs
|
||||
"
|
||||
BDEPEND="commons? ( app-arch/unzip )"
|
||||
|
||||
src_install() {
|
||||
local apphome="/opt/${PN}"
|
||||
|
||||
mkdir -p "${ED}/${apphome}" tools build || die
|
||||
chmod 775 tools build || die
|
||||
keepdir ${apphome}/{tools,build}
|
||||
|
||||
if use commons ; then
|
||||
cp -r "${WORKDIR}/${NANE}/commons-extension" webapp/extensions || die
|
||||
fi
|
||||
|
||||
cp -r . "${ED}/${apphome}" || die
|
||||
|
||||
make_wrapper refine "
|
||||
env REFINE_LIB_DIR=${apphome}/server/target/lib \
|
||||
REFINE_TOOLS_DIR=${apphome}/tools \
|
||||
REFINE_CLASSES_DIR=${apphome}/server/classes \
|
||||
REFINE_WEBAPP=${apphome}/main/webapp /opt/openrefine/refine"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to use ${PN} run refine in a terminal, from Dmenu also works"
|
||||
elog "First run better in terminal - for long installing"
|
||||
}
|
||||
Reference in New Issue
Block a user