Installing AUR packages

Install git

1
sudo pacman -S git

Install base devel

1
sudo pacman -S base-devel

Find the package

Visit AUR: https://aur.archlinux.org/

find the git clone URL of the chosen package.

it should look like this: https://aur.archlinux.org/opencv3-opt.git

Create directory

If it’s your first package you should create a directory for the AUR packages

1
mkdir ~/AUR

Build it

git clone [the package], cd [the package], makepkg -si