cmake-format on AUR (Arch User Repository)

Last updated: November 07,2024

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

$ yay -S cmake-format

* (Optional) Uninstall cmake-format on Arch using YAY

$ yay -Rns cmake-format

2. Manually Install "cmake-format" via AUR

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

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

b. Clone cmake-format's git locally

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

c. Go to ~/cmake-format folder and install it

$ cd ~/cmake-format $ makepkg -si

3. Information about the cmake-format package on Arch User Repository (AUR)

ID: 1278977
Name: cmake-format
PackageBaseID: 137824
PackageBase: cmake-format
Version: 0.6.13-3
Description: Source code formatter for CMake listfiles
URL: https://github.com/cheshirekow/cmake_format
NumVotes: 14
Popularity: 0.679837
OutOfDate:
Maintainer: Martchus
Submitter: Martchus
FirstSubmitted: 1544025370
LastModified: 1687771624
URLPath: /cgit/aur.git/snapshot/cmake-format.tar.gz