summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-08-30 18:52:56 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-30 18:53:53 +0200
commitfd7ee4f0e455663c07f81c7521b97015ddf303e4 (patch)
tree05ba57e602798969cb552a6d544f6ccc30b01411
parentapp-portage/java-ebuilder: update ebuild for ${PV}==9999 (diff)
downloadgentoo-fd7ee4f0e455663c07f81c7521b97015ddf303e4.tar.gz
gentoo-fd7ee4f0e455663c07f81c7521b97015ddf303e4.tar.bz2
gentoo-fd7ee4f0e455663c07f81c7521b97015ddf303e4.zip
app-portage/java-ebuilder: bump to 0.5.1
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--app-portage/java-ebuilder/Manifest1
-rw-r--r--app-portage/java-ebuilder/java-ebuilder-0.5.1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/app-portage/java-ebuilder/Manifest b/app-portage/java-ebuilder/Manifest
index a24c7095902..7f35fa015b7 100644
--- a/app-portage/java-ebuilder/Manifest
+++ b/app-portage/java-ebuilder/Manifest
@@ -1 +1,2 @@
DIST java-ebuilder-0.4.1.tar.gz 26414 BLAKE2B 9dd418bbb2c9631d36c20649c5b4df916f476561bac28fc729e32001da086207a74e26b2379106c9066b7e4114b3ce35f225e54680990c1fbf9e515b3fe42034 SHA512 7782055991a650526d8da95c0b5b6c55ce68dbfe0a5374f6893320baccbd783d271630d67f0a6e2ab176ab6979f343082a0ae0f72e1d949d07a0f202572d4e7a
+DIST java-ebuilder-0.5.1.tar.gz 51590 BLAKE2B d37638247650610637d71e91c7209c1bace4489a5bdd2a3c3be3961e8f1238c96c6d0978f59b32f3a44f51d4f1b26c5016cc5c82c7b619ae35601eeeed866a35 SHA512 e091b1c80eaced03b1950fcb769f2bd5922aa37ebdb480b48870f9c601017c621486b049e7cd694a57f832baf4f04c6fc8a31848f9c63f4d26dd4092b1193c55
diff --git a/app-portage/java-ebuilder/java-ebuilder-0.5.1.ebuild b/app-portage/java-ebuilder/java-ebuilder-0.5.1.ebuild
new file mode 100644
index 00000000000..32f44a7de32
--- /dev/null
+++ b/app-portage/java-ebuilder/java-ebuilder-0.5.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2016-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == 9999 ]]; then
+ ECLASS="git-r3"
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+else
+ SRC_URI="https://gitweb.gentoo.org/proj/java-ebuilder.git/snapshot/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+inherit java-pkg-2 java-pkg-simple prefix ${ECLASS}
+
+DESCRIPTION="Java team tool for semi-automatic creation of ebuilds from pom.xml"
+HOMEPAGE="https://github.com/gentoo/java-ebuilder"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=virtual/jdk-1.8"
+RDEPEND=">=virtual/jre-1.8
+ sys-process/parallel
+ >=dev-java/maven-bin-3"
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_RESOURCE_DIRS="src/main/resources"
+
+JAVA_LAUNCHER_FILENAME=${PN}
+JAVA_MAIN_CLASS="org.gentoo.java.ebuilder.Main"
+
+src_prepare() {
+ default
+ hprefixify scripts/{bin/*,resources/Makefiles/*,movl} java-ebuilder.conf
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ insinto /var/lib/${PN}
+ doins -r maven
+ dodir /var/lib/${PN}/{poms,cache}
+ keepdir /var/lib/${PN}/{poms,cache}
+
+ dodoc README maven.conf
+
+ exeinto /usr/lib/${PN}/bin
+ doexe scripts/bin/*
+ insinto /usr/lib/${PN}
+ doins -r scripts/resources/*
+ dobin scripts/movl
+
+ insinto /etc
+ doins java-ebuilder.conf
+}