Struct pkgbuild::PkgBuildBuilder [−][src]
pub struct PkgBuildBuilder { /* fields omitted */ }A builder struct for PkgBuild
Implementations
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_pkgname_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
Name of this packages or names if split packages
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_arch_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
Architectures on which the given package is available
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_license_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
License(s) of the package
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_source_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of source files required to build the package
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_validpgpkeys_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of PGP fingerprints
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_noextract_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
An array of file names corresponding to those from the source array. Files listed here will not be extracted with the rest of the source files
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_md5sums_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of MD5 hashes for every source file specified in source list
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_sha1sums_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of SHA1 hashes for every source file specified in source list
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_sha224sums_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of SHA224 hashes for every source file specified in source list
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_sha256sums_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of SHA256 hashes for every source file specified in source list
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_sha384sums_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of SHA384 hashes for every source file specified in source list
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_sha512sums_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of SHA512 hashes for every source file specified in source list
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_b2sums_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of BLAKE2 hashes for every source file specified in source list
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_groups_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of symbolic names that represent groups of packages
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_backup_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of file names (paths must be relative) that should be backed up if the package is removed or upgraded
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_depends_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of packages this package depends on to run
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_makedepends_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of packages this package depends on to build
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_checkdepends_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of packages this package depends on to run it’s test suite
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_optdepends_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of packages that are not essential for base functionality, but may be necessary to make full use of the package
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_conflicts_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of packages that will conflict with this package
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_provides_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of “virtual provisions” that this package provides
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_replaces_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
A list of packages this package replaces
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn add_options_entries<I, S>(self, entries: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn package_func<S>(self, package_func: S) -> Self where
S: Into<String>, [src]
S: Into<String>,
The function that is used to install files into the directory that will become the root directory of the build package
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn prepare_func<S>(self, prepare_func: S) -> Self where
S: Into<String>, [src]
S: Into<String>,
An optional function that prepares the sources for the building
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn build_func<S>(self, build_func: S) -> Self where
S: Into<String>, [src]
S: Into<String>,
An optional function used to compile and adjust source files in preparation for install
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn check_func<S>(self, check_func: S) -> Self where
S: Into<String>, [src]
S: Into<String>,
An optional function that should test the functionality of the package before installation
impl PkgBuildBuilder[src]
impl PkgBuildBuilder[src]pub fn pkgname<S>(self, name: S) -> Self where
S: Into<String>, [src]
S: Into<String>,
The name of the package
pub fn pkgnames<I, S>(self, names: I) -> Self where
I: IntoIterator<Item = S>,
S: Into<String>, [src]
I: IntoIterator<Item = S>,
S: Into<String>,
The names of the packages for split packages
pub fn opt_strip(self) -> Self[src]
Add option to strip symbols from binaries and libraries
pub fn opt_docs(self) -> Self[src]
Add option to save doc directories
pub fn opt_libtool(self) -> Self[src]
Add option to leave libtool (.la) files in packages
pub fn opt_debug(self) -> Self[src]
Add option that adds debug flags to buildflags
Trait Implementations
impl Default for PkgBuildBuilder[src]
impl Default for PkgBuildBuilder[src]fn default() -> PkgBuildBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for PkgBuildBuilder
impl RefUnwindSafe for PkgBuildBuilderimpl Send for PkgBuildBuilder
impl Send for PkgBuildBuilderimpl Sync for PkgBuildBuilder
impl Sync for PkgBuildBuilderimpl Unpin for PkgBuildBuilder
impl Unpin for PkgBuildBuilderimpl UnwindSafe for PkgBuildBuilder
impl UnwindSafe for PkgBuildBuilder