diff --git a/docs/packages/build-scripts.md b/docs/packages/build-scripts.md index a345ab2..7c90f92 100644 --- a/docs/packages/build-scripts.md +++ b/docs/packages/build-scripts.md @@ -21,6 +21,7 @@ LURE uses build scripts similar to the AUR's PKGBUILDs. This is the documentatio - [conflicts](#conflicts) - [deps](#deps) - [build_deps](#build_deps) + - [opt_deps](#opt_deps) - [replaces](#replaces) - [sources](#sources) - [checksums](#checksums) @@ -160,6 +161,17 @@ The `deps` array contains the dependencies for the package. LURE repos will be c The `build_deps` array contains the dependencies that are required to build the package. They will be installed before the build starts. Similarly to the `deps` array, LURE repos will be checked first. +### opt_deps + +The `opt_deps` array contains optional dependencies for the package. A description can be added after ": ", but it's not required. + +```bash +opt_deps_arch=( + 'git: Download git repositories' + 'aria2: Download files' +) +``` + ### replaces The `replaces` array contains the packages that are replaced by this package. Generally, if package managers find a package with a `replaces` field set, they will remove the listed package(s) and install that one instead. This is only useful if the packages are being stored in a repo for your package manager.