From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/java-ebuilder/
Date: Sun, 30 Aug 2020 16:53:57 +0000 (UTC) [thread overview]
Message-ID: <1598806433.e93b8d82f35c737ac42a255de4fe8e52528d4d18.fordfrog@gentoo> (raw)
commit: e93b8d82f35c737ac42a255de4fe8e52528d4d18
Author: Zhang Zongyu <zzy2529420793 <AT> gmail <DOT> com>
AuthorDate: Sun Aug 30 16:44:53 2020 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 16:53:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93b8d82
app-portage/java-ebuilder: update ebuild for ${PV}==9999
Signed-off-by: Zhang Zongyu <zzy2529420793 <AT> gmail.com>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
.../java-ebuilder/java-ebuilder-9999.ebuild | 31 +++++++---------------
1 file changed, 9 insertions(+), 22 deletions(-)
diff --git a/app-portage/java-ebuilder/java-ebuilder-9999.ebuild b/app-portage/java-ebuilder/java-ebuilder-9999.ebuild
index 7a78207628c..32f44a7de32 100644
--- a/app-portage/java-ebuilder/java-ebuilder-9999.ebuild
+++ b/app-portage/java-ebuilder/java-ebuilder-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2016-2019 Gentoo Authors
+# Copyright 2016-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -27,32 +27,18 @@ RDEPEND=">=virtual/jre-1.8
S="${WORKDIR}/${P}"
JAVA_SRC_DIR="src/main/java"
-JAVA_ADDRES_DIRS="src/main/resources"
+JAVA_RESOURCE_DIRS="src/main/resources"
-MAIN_CLASS="org.gentoo.java.ebuilder.Main"
+JAVA_LAUNCHER_FILENAME=${PN}
+JAVA_MAIN_CLASS="org.gentoo.java.ebuilder.Main"
src_prepare() {
default
-
- local base_dir="target/classes/"
-
- [[ ! -d "${base_dir}" ]] &&mkdir -p "${base_dir}META-INF"
- echo "Manifest-Version: 1.0
-Main-Class: ${MAIN_CLASS}" \
- >> "${base_dir}META-INF/MANIFEST.MF"
-
- hprefixify scripts/{{tree,meta}.sh,movl} java-ebuilder.conf
-}
-
-src_compile() {
- java-pkg-simple_src_compile
-
- jar uf ${JAVA_JAR_FILENAME} -C ${JAVA_ADDRES_DIRS} usage.txt || die "Failed to add resources"
+ hprefixify scripts/{bin/*,resources/Makefiles/*,movl} java-ebuilder.conf
}
src_install() {
java-pkg-simple_src_install
- java-pkg_dolauncher ${PN} --main ${MAIN_CLASS}
insinto /var/lib/${PN}
doins -r maven
@@ -61,9 +47,10 @@ src_install() {
dodoc README maven.conf
- exeinto /usr/lib/${PN}
- doexe scripts/{tree,meta}.sh
-
+ exeinto /usr/lib/${PN}/bin
+ doexe scripts/bin/*
+ insinto /usr/lib/${PN}
+ doins -r scripts/resources/*
dobin scripts/movl
insinto /etc
next reply other threads:[~2020-08-30 16:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-30 16:53 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-25 8:08 [gentoo-commits] repo/gentoo:master commit in: app-portage/java-ebuilder/ Miroslav Šulc
2024-11-25 8:07 Miroslav Šulc
2023-10-12 9:47 Sam James
2023-04-15 6:17 Sam James
2021-05-04 9:27 Miroslav Šulc
2021-05-04 9:27 Miroslav Šulc
2020-08-30 16:53 Miroslav Šulc
2020-08-30 16:53 Miroslav Šulc
2019-11-27 9:56 Miroslav Šulc
2019-11-03 20:56 Miroslav Šulc
2019-10-30 20:03 Miroslav Šulc
2017-01-09 14:04 Benda XU
2017-01-09 14:00 Benda XU
2016-10-29 8:50 Benda XU
2016-10-09 3:37 Benda XU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1598806433.e93b8d82f35c737ac42a255de4fe8e52528d4d18.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox