mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
app-doc/dita-ot-bin: add 4.3.5
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
parent
4dbb4258e6
commit
bd133615c2
@ -1 +1,2 @@
|
||||
DIST dita-ot-4.3.4.zip 52850881 BLAKE2B 424a563c2d27c3175d6f86498dd5a30afd4926754553316d0ad21929e1cbac32c8941e56520aca295f0e1777888c94c0f091503af893a5f8bedc1f48d168c50d SHA512 b45a93490ee7d85f819075ea5efa11e6bafd1c7be8d41a438d472f62fea41a857f7dd83d10fc8aed93404bdd34f070d6e7a156cbbef481376f7f6fcdcabad8fb
|
||||
DIST dita-ot-4.3.5.zip 53957093 BLAKE2B 3b3d8cd12b1d3b93e1c7744bd4a265b179396688d0a7117bd23f77dd1e2a082f102b1ee3440a4ebe1e34e5eedd5a653c89d5db5adb48799e9fdaf485fc6ad6d2 SHA512 acf80a56b43ebcfa9bbe051726ec818ee1dd1afc739050d586578e77e1a900d2107a515c864f7618b769657a68c667a7bc1c3f210377c2a0801f88f405d9c57b
|
||||
|
||||
45
app-doc/dita-ot-bin/dita-ot-bin-4.3.5.ebuild
Normal file
45
app-doc/dita-ot-bin/dita-ot-bin-4.3.5.ebuild
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=${PN%*-bin}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
DESCRIPTION="Darwin Information Typing Architecture - Open Toolkit publishing engine"
|
||||
HOMEPAGE="https://www.dita-ot.org/ https://github.com/dita-ot/dita-ot"
|
||||
SRC_URI="https://github.com/dita-ot/dita-ot/releases/download/${PV}/${MY_P}.zip"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=virtual/jdk-17:*"
|
||||
RDEPEND=">=virtual/jre-17:*"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.3-set-java-home.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local installpath=/opt/${MY_P}
|
||||
local installbinpath="${installpath}"/bin
|
||||
insinto "${installpath}"
|
||||
doins -r config lib plugins resources
|
||||
|
||||
java-pkg_regjar "${installpath}"/lib/dost.jar
|
||||
|
||||
exeinto "${installbinpath}"
|
||||
doexe bin/dita
|
||||
dosym -r "${installbinpath}"/dita /usr/bin/dita
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user