A utility just do two things:
Make a new temporary folder and download PKGBUILD into there, and run makepkg -si
in your terminal.
# Make a new temporary folder. For example:
cd $(mktemp -d)
# Download PKGBUILD
curl --get https://raw.githubusercontent.com/xnuk/toml-bin/master/PKGBUILD > PKGBUILD
# Build & Install
makepkg -si
To uninstall it, do:
pacman -Rsc toml-bin-git
After installing Rust and do this in your terminal:
git clone https://github.com/xnuk/toml-bin
cd toml-bin
cargo build --release
# Usage:
cat /path/to/file.toml | ./target/release/toml
# Feel free to move this anywhere:
cp ./target/release/toml ~/.local/bin/