$ aura search cowsay-bin
Searching for "cowsay-bin"
Fetching from: https://aur.archlinux.org/rpc/?v=5&type=search&by=name&arg=cowsay-bin
Found 1 results
cowsay-bin
Description: Cowsay implemented using Rust.
Maintainer: fffzlfk
Votes: 0
URL: https://github.com/fffzlfk/scowsay
Download URL: https://aur.archlinux.org/cowsay-bin.git
$ aura install cowsay-bin
Installing "cowsay-bin"
Cloning into 'cowsay-bin'...wwwwwwwwwwwwwwwwwsww
==> Making package: cowsay-bin 0.1.0-1 (Thu Mar 24 15:06:07 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing package cowsay-bin with pacman -U...
loading packages...
(2/2) Refreshing PackageKit...
exit status: 0
Trimmed the output in README for cosmetic purposes :D
The aim is to keep aura as lightweight as possible therefore when it installs a package aura will:
- Compose the AUR git url using the AUR git clone url format without doing an extra fetch on the API
- Run git clone
- Run makepkg -si
- Remove the files from step 2 and 3 after the installation was finished
- Search
- Install
- Tests
- Treat the error cases properly
- Display a percentage instead of the long output
- Add limit param to the search function