Diff pdftk-3.3.3 with a pdftk-3.3.3-r2

/usr/portage/app-text/pdftk/pdftk-3.3.3-r2.ebuild 2023-10-09 14:52:28.892368335 +0300
12 12
DESCRIPTION="A port of pdftk into java"
13 13
HOMEPAGE="https://gitlab.com/pdftk-java/pdftk"
14 14
SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/archive/v${PV}/pdftk-v${PV}.tar.bz2"
15
S="${WORKDIR}/${PN}-v${PV}"
15 16

  
16 17
LICENSE="GPL-2"
17 18
SLOT="0"
18
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
19
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
19 20

  
21
# Switch back to bcprov:0 once pdftk updates its bcprov dependency.
20 22
CP_DEPEND="
21
	dev-java/bcprov:0
23
	dev-java/bcprov:1.74
22 24
	dev-java/commons-lang:3.6
23 25
"
24 26

  
25
# Compile dependencies
26
# POM: pom.xml
27
# test? com.github.stefanbirkner:system-rules:1.19.0 -> !!!groupId-not-found!!!
28
# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4
29

  
30 27
DEPEND="
31 28
	>=virtual/jdk-1.8:*
32 29
	${CP_DEPEND}
......
42 39

  
43 40
DOCS=( CHANGELOG.md README.md )
44 41

  
45
S="${WORKDIR}/${PN}-v${PV}"
46

  
47
JAVA_LAUNCHER_FILENAME="${PN}"
48 42
JAVA_MAIN_CLASS="com.gitlab.pdftk_java.pdftk"
49
JAVA_SRC_DIR="java"
50 43
JAVA_RESOURCE_DIRS="resources/java"
44
JAVA_SRC_DIR="java"
51 45

  
52 46
JAVA_TEST_GENTOO_CLASSPATH="junit-4,system-rules"
53 47
JAVA_TEST_SRC_DIR="test"
54 48

  
55 49
src_prepare() {
56
	default
50
	java-pkg-2_src_prepare
57 51
	mkdir resources || die
58 52
	cp -r {,resources/}java || die
59 53
	rm -r resources/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/codec || die
......
80 74
	)
81 75
	java-pkg-simple_src_test
82 76
}
77

  
78
src_install() {
79
	java-pkg-simple_src_install
80
	doman "${PN}.1"
81
}
Thank you!