Diff geekbench-3.4.4 with a geekbench-4.4.4

/usr/portage/app-benchmarks/geekbench/geekbench-4.4.4.ebuild 2023-10-09 14:52:28.204368318 +0300
6 6
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
7 7
HOMEPAGE="https://www.geekbench.com"
8 8
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
9
S="${WORKDIR}/dist/Geekbench-${PV}-Linux"
9
S="${WORKDIR}/Geekbench-${PV}-Linux"
10 10

  
11 11
KEYWORDS="-* amd64 x86"
12 12
LICENSE="geekbench"
13
SLOT="3"
13
SLOT="4"
14 14

  
15 15
RESTRICT="bindist mirror"
16 16

  
17
QA_PREBUILT="opt/geekbench3/geekbench opt/geekbench3/geekbench_x86_32 opt/geekbench3/geekbench_x86_64"
17
QA_PREBUILT="
18
	opt/geekbench4/geekbench4
19
	opt/geekbench4/geekbench_x86_32
20
	opt/geekbench4/geekbench_x86_64
21
"
18 22

  
19 23
pkg_nofetch() {
20
	elog "Please download ${A} from ${HOMEPAGE}/${PN}3/download/linux"
24
	elog "Please download ${A} from ${HOMEPAGE}/download/linux"
21 25
	elog "and place it in your DISTDIR directory."
22 26
}
23 27

  
24 28
src_install() {
25
	exeinto /opt/geekbench3
26
	doexe geekbench geekbench_x86_32 geekbench_x86_64
29
	exeinto /opt/geekbench4
30
	doexe geekbench4 geekbench_x86_32 geekbench_x86_64
27 31

  
28
	insinto /opt/geekbench3
32
	insinto /opt/geekbench4
29 33
	doins geekbench.plar
30 34

  
31 35
	dodir /opt/bin
32
	dosym ../geekbench3/geekbench /opt/bin/geekbench3
36
	dosym ../geekbench4/geekbench4 /opt/bin/geekbench4
33 37
}
34 38

  
35 39
pkg_postinst() {
36 40
	elog "If you have purchased a commercial license, you can enter"
37 41
	elog "your email address and your license key with the following command:"
38
	elog "geekbench3 -r <email address> <license key>"
42
	elog "geekbench4 -r <email address> <license key>"
39 43
}
Thank you!