pgformatter-git on AUR (Arch User Repository)

Last updated: November 07,2024

1. Install "pgformatter-git" 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 pgformatter-git on Arch using YAY

$ yay -S pgformatter-git

* (Optional) Uninstall pgformatter-git on Arch using YAY

$ yay -Rns pgformatter-git

2. Manually Install "pgformatter-git" via AUR

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

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

b. Clone pgformatter-git's git locally

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

c. Go to ~/pgformatter-git folder and install it

$ cd ~/pgformatter-git $ makepkg -si

3. Information about the pgformatter-git package on Arch User Repository (AUR)

ID: 998583
Name: pgformatter-git
PackageBaseID: 130803
PackageBase: pgformatter-git
Version: v5.2.r0.gfe95448-1
Description: Correctly indent PostgreSQL queries
URL: https://github.com/darold/pgformatter
NumVotes: 5
Popularity: 0
OutOfDate:
Maintainer: marco44
Submitter: marco44
FirstSubmitted: 1521130530
LastModified: 1638783805
URLPath: /cgit/aur.git/snapshot/pgformatter-git.tar.gz