dev-java/google-java-format: add 2.0.0, drop 1.37.0
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
f3958e211e
commit
519e0c8e50
2 files changed
+2
-2
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Reformats Java source code to comply with Google Java Style"
|
||||
HOMEPAGE="https://github.com/google/google-java-format"
|
||||
SRC_URI="https://github.com/google/google-java-format/releases/download/v${PV}/${P}-all-deps.jar"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND=">=virtual/jdk-21:*"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
newins "${DISTDIR}/${P}-all-deps.jar" "google-java-format-all-deps.jar"
|
||||
|
||||
dobin "${FILESDIR}/${PN}"
|
||||
}
|
||||
Reference in new issue
Block a user