makemetapkg, a tool for quickly and conveniently building meta-packages
metapkg are scripts for quickly and conveniently building meta-packages for use with pacman. It has two advantages over the "classic" approach of writing PKGBUILDs for doing the same:
- The configuration/rule file is a lot more compact
- Packages can be built individually (in case of a rule file declaring multiple meta-packages)
metapkg is the low-level script that reads rules from a file, generates a PKGBUILD from it, and calls
makepkg on that.
makemetapkg is the higher-level script intended for use by the user, which takes a METAPKGBUILD file, generates rules for
metapkg and then calls the latter.
An example METAPKGBUILD (or metapkg rule file) looks like this:
metapkg epfl-cs207a-2018.03.20-1 pkgdesc EPFL CS-207(a): Project in System Programming depends check doxygen gcc gdb make openssh openssl optdepends meson: alternative build system