Package Details: google-java-format 1.21.0-1

Git Clone URL: https://aur.archlinux.org/google-java-format.git (read-only, click to copy)
Package Base: google-java-format
Description: Reformats Java source code to comply with Google Java Style
Upstream URL: https://github.com/google/google-java-format
Licenses: Apache-2.0 AND NCSA
Submitter: tigersoldier
Maintainer: EvaristeGalois11
Last Packager: EvaristeGalois11
Votes: 9
Popularity: 0.074278
First Submitted: 2017-04-17 06:06 (UTC)
Last Updated: 2024-03-06 06:19 (UTC)

Dependencies (2)

Required by (1)

Sources (3)

Latest Comments

EvaristeGalois11 commented on 2023-10-30 08:25 (UTC) (edited on 2023-12-10 11:38 (UTC) by EvaristeGalois11)

Well spotted @quietpeace thank you! I added the missing export, now it should be aligned with the readme.

quietpeace commented on 2023-10-30 07:55 (UTC) (edited on 2023-10-30 07:57 (UTC) by quietpeace)

Hi @EvaristeGalois11,

Thank you for the update :)

I noticed that export flags in aur package here don't match the ones in the google-java-format README.md.

It seems jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED is missing from the aur package.

Can you please take a look?

PolarianDev commented on 2023-06-11 21:52 (UTC)

@PumpkinCheshire do you plan to update this package? its been 2 months.

If you are too busy can I help co-maintain?

Thank you,
Polarian

shulhan commented on 2022-10-28 08:42 (UTC)

[PSA] Prebuild package is available at https://build.kilabit.info/aur, see https://build.kilabit.info/ for more information.

jianglai commented on 2020-07-29 01:23 (UTC)

To upgrade to 1.8:

diff --git a/PKGBUILD b/PKGBUILD
index 56d9f6a..9de155f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer:  <tigersoldi at gmail dot com>
 pkgname=google-java-format
-pkgver=1.7
+pkgver=1.8
 pkgrel=1
 pkgdesc="Reformats Java source code to comply with Google Java Style"
 arch=('any')
@@ -10,7 +10,7 @@ depends=('java-runtime')
 options=()
 source=(https://github.com/google/google-java-format/releases/download/$pkgname-$pkgver/$pkgname-$pkgver-all-deps.jar
         google-java-format)
-md5sums=('d8ef209ab1f4b603089f3fa52c3a03ba'
+md5sums=('b09540321616909e208b7cd38b46424d'
          'e5b04729b788ccd83df24eaee98a35e6')

chungy commented on 2018-08-28 23:43 (UTC)

Would you mind having a shorthand command included to run the program as well?

For example, in PKGBUILD after copying /usr/bin/google-java-format, adding "ln -s google-java-format $pkgdir/usr/bin/gjf"

jguer commented on 2018-05-24 09:31 (UTC)

makepkg --printsrcinfo > .SRCINFO was not run last release causing disparity between the pkgbuild and the displayed information