Next: , Up: Package Functions   [Contents][Index]


7.7.1 ‘pkg_build()

This function builds all given packages. It resolves dependencies for the given packages, lints the package, extracts its sources and runs the build script.

# Example

# Create the cache directories first, this is where the package will be built.
create_cache

# Build the package(s) you want to build.
pkg_build cpt