go-aur as its name suggests, is a CLI tool written in Go for managing AUR packages. I created this for personal use and to practice Go, but feel free to give it a try.
This tool was created to automate the manual process I typically use for managing my few AUR packages into a CLI tool. All the packages will be cloned into a hidden folder called .aur inside your home directory. You can install, list, update, and remove them.
When executing `pacman`` commands, sometimes it will prompt the user to proceed or not. These questions don't display correctly when running the command through Go. Simply pressing ENTER continues with the command execution.
- Use the Go command tool:
go install github.com/tboerc/go-aur@latest. - Alternatively, download the executable from the Releases and add it to your PATH.
go-aur install AUR_GIT_URLClones into ~/.aur and installs the package along with necessary dependencies.
go-aur updateUpdates every package inside ~/.aur.
go-aur listLists every package inside ~/.aur along with its current version.
go-aur PACKAGE_NAMEUninstalls the package from the system and deletes its folder from ~/.aur