scalafmt-native on AUR (Arch User Repository)

Last updated: June 16,2024

1. Install "scalafmt-native" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install scalafmt-native on Arch using YAY

$ yay -S scalafmt-native

* (Optional) Uninstall scalafmt-native on Arch using YAY

$ yay -Rns scalafmt-native

2. Manually Install "scalafmt-native" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone scalafmt-native's git locally

$ git clone https://aur.archlinux.org/scalafmt-native.git ~/scalafmt-native

c. Go to ~/scalafmt-native folder and install it

$ cd ~/scalafmt-native $ makepkg -si

3. Information about the scalafmt-native package on Arch User Repository (AUR)

ID: 638268
Name: scalafmt-native
PackageBaseID: 139144
PackageBase: scalafmt-native
Version: 2.0.1-2
Description: Code formatter for Scala built with GraalVM (for fast startup)
URL: https://scalameta.org/scalafmt/
NumVotes: 1
Popularity: 0
OutOfDate: 1575017940
Maintainer: poslegm
FirstSubmitted: 1548799975
LastModified: 1566061684
URLPath: /cgit/aur.git/snapshot/scalafmt-native.tar.gz