git clone a package from AUR (the unofficial Arch Linux package repository that contains user-submitted packages), without having to remember the URL.
Your ssh key should be set up at the AUR web page first for this to work (the HTTPS fallback will be used if not set up).
One way is to install it from AUR, another way is:
sudo pacman -S base-devel git go --noconfirm --needed
go get -u github.com/xyproto/aget
sudo install -Dm755 ~/go/bin/aget /usr/bin/agetAn alternative to go get + install is to use go install:
go install github.com/xyproto/aget@latestFirst make sure that base and base-devel are installed.
Then download the ld-lsb package from AUR (ld-lsb is just an example):
aget ld-lsb
Build and install it with makepkg:
makepkg -i
aget newpackage
- Version: 1.4.3
- Author: Alexander F. Rødseth <[email protected]>
- License: BSD-3