Package Details: google-java-format 1.36.1-2

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
Submitter: tigersoldier
Maintainer: EvaristeGalois11
Last Packager: EvaristeGalois11
Votes: 10
Popularity: 0.64
First Submitted: 2017-04-17 06:06 (UTC)
Last Updated: 2026-08-15 10:43 (UTC)

Dependencies (0)

Required by (1)

Sources (1)

Latest Comments

calmcrow commented on 2026-08-20 00:40 (UTC)

@EvaristeGalois11 Yes, the behavior seems normal now. I'll keep an eye on it until the next new version. If there are any new issues, I'll reply to you again

EvaristeGalois11 commented on 2026-08-15 10:48 (UTC)

Thank you @calmcrow, you solved the problem I was having with checksumming not working correctly but I wasn't able to pin point. Everything should work fine now, can you try it?

calmcrow commented on 2026-08-15 08:51 (UTC)

Could you use the :: syntax in the source to include a version number in the local file name? Currently, it seems that updating to a new version requires deleting the local cache, because the file name is the same. makepkg appears unable to detect the change in the package, so it fails to download the new version file correctly and thus cannot pass the checksum verification. Adding a version number should help alleviate this issue

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