AUTOAUR
From ArchWiki
autoaur is a script for automatic mass downloading, updating, building and installing groups of AUR packages. It was initially written by Michal Krenek. A typical scenario would be building (including frequent updating/rebuilding) Xgl, Compiz and all related packages from the AUR. In fact, this was the original reason for making autoaur.
Installing
Build autoaur using yaourt or another AUR helper:
$ yaourt -S autoaur
Configuring
A sample configuration file (or meta-PKGBUILD) for Xgl & Compiz comes with autoaur. To use it, create a directory where all packages to be downloaded and builded should be placed, go to this directory and run:
$ autoaur /path/to/xgl.autoaur
autoaur is highly configurable, as demonstrated by its help command:
Usage: autoaur [options] [config file]
Options:
--spackages PACKAGES Install these packages from repositories
--packages PACKAGES Install these packages from AUR
--nosync Do not install packages from repositories
--nodownload Do not download packages from AUR
--noremovebuilddir Do not remove *-build subdirectories in src directory
--nobuild Do not build packages from AUR
(it doesn't apply to versionpkg)
--noinstall Do not install packages from AUR
--noupdate Do not update package versions
--updatever VERSION Update all packages to some particular version
(it doesn't apply to versionpkg)
--remove Remove conflicting packages (without dependency check)
--clean Clean package directories before new installation
(old source code will be deleted)
--nocolor Disable colorized output messages
--confighelp Help with configuration files
-h, --help Basic help
When running a personal repository, use autoaur-repo instead. After installing it, add the next line to the meta-PKGBUILDs:
PERSREPO=personalreponame
Finally, add the directory to the PKGDEST variable in makepkg.conf.