makepkg
the makepkg script automates building of packages. this script is provided
in the pacman package on archlinux.
to configure how packages should be built (for example using some compiler flags),
update either /etc/makepkg.conf or $HOME/.makepkg.conf.