Struct pkgbuild::PkgBuildBuilder[][src]

pub struct PkgBuildBuilder { /* fields omitted */ }

A builder struct for PkgBuild

Implementations

impl PkgBuildBuilder[src]

pub fn build(self) -> PkgBuild[src]

Finishes the building process returning the PkgBuild

impl PkgBuildBuilder[src]

pub fn add_pkgname_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

Name of this packages or names if split packages

impl PkgBuildBuilder[src]

pub fn pkgver<S>(self, pkgver: S) -> Self where
    S: Into<String>, 
[src]

The version of the software. The variable is not allowed to contain colons, forward slashes, hyphens or whitespace

impl PkgBuildBuilder[src]

pub fn pkgrel<S>(self, pkgrel: S) -> Self where
    S: Into<String>, 
[src]

Release number of the package

impl PkgBuildBuilder[src]

pub fn add_arch_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

Architectures on which the given package is available

impl PkgBuildBuilder[src]

pub fn pkgdesc<S>(self, pkgdesc: S) -> Self where
    S: Into<String>, 
[src]

A brief description of the package

impl PkgBuildBuilder[src]

pub fn epoch<S>(self, epoch: S) -> Self where
    S: Into<String>, 
[src]

Used to force the package to be seen as newer. Use as a last resort

impl PkgBuildBuilder[src]

pub fn url<S>(self, url: S) -> Self where
    S: Into<String>, 
[src]

The url pointing to the website of the package

impl PkgBuildBuilder[src]

pub fn add_license_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

License(s) of the package

impl PkgBuildBuilder[src]

pub fn install<S>(self, install: S) -> Self where
    S: Into<String>, 
[src]

Specifies a special install script that is to be included in the package

impl PkgBuildBuilder[src]

pub fn changelog<S>(self, changelog: S) -> Self where
    S: Into<String>, 
[src]

Specifies a changelog file that is to be included in the package

impl PkgBuildBuilder[src]

pub fn add_source_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of source files required to build the package

impl PkgBuildBuilder[src]

pub fn add_validpgpkeys_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of PGP fingerprints

impl PkgBuildBuilder[src]

pub fn add_noextract_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

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]

pub fn add_md5sums_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of MD5 hashes for every source file specified in source list

impl PkgBuildBuilder[src]

pub fn add_sha1sums_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of SHA1 hashes for every source file specified in source list

impl PkgBuildBuilder[src]

pub fn add_sha224sums_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of SHA224 hashes for every source file specified in source list

impl PkgBuildBuilder[src]

pub fn add_sha256sums_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of SHA256 hashes for every source file specified in source list

impl PkgBuildBuilder[src]

pub fn add_sha384sums_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of SHA384 hashes for every source file specified in source list

impl PkgBuildBuilder[src]

pub fn add_sha512sums_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of SHA512 hashes for every source file specified in source list

impl PkgBuildBuilder[src]

pub fn add_b2sums_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of BLAKE2 hashes for every source file specified in source list

impl PkgBuildBuilder[src]

pub fn add_groups_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of symbolic names that represent groups of packages

impl PkgBuildBuilder[src]

pub fn add_backup_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of file names (paths must be relative) that should be backed up if the package is removed or upgraded

impl PkgBuildBuilder[src]

pub fn add_depends_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of packages this package depends on to run

impl PkgBuildBuilder[src]

pub fn add_makedepends_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of packages this package depends on to build

impl PkgBuildBuilder[src]

pub fn add_checkdepends_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of packages this package depends on to run it’s test suite

impl PkgBuildBuilder[src]

pub fn add_optdepends_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

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]

pub fn add_conflicts_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of packages that will conflict with this package

impl PkgBuildBuilder[src]

pub fn add_provides_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of “virtual provisions” that this package provides

impl PkgBuildBuilder[src]

pub fn add_replaces_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

A list of packages this package replaces

impl PkgBuildBuilder[src]

pub fn add_options_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl PkgBuildBuilder[src]

pub fn package_func<S>(self, package_func: S) -> Self where
    S: Into<String>, 
[src]

The function that is used to install files into the directory that will become the root directory of the build package

impl PkgBuildBuilder[src]

pub fn prepare_func<S>(self, prepare_func: S) -> Self where
    S: Into<String>, 
[src]

An optional function that prepares the sources for the building

impl PkgBuildBuilder[src]

pub fn build_func<S>(self, build_func: S) -> Self where
    S: Into<String>, 
[src]

An optional function used to compile and adjust source files in preparation for install

impl PkgBuildBuilder[src]

pub fn check_func<S>(self, check_func: S) -> Self where
    S: Into<String>, 
[src]

An optional function that should test the functionality of the package before installation

impl PkgBuildBuilder[src]

pub fn pkgname<S>(self, name: S) -> Self where
    S: Into<String>, 
[src]

The name of the package

pub fn pkgnames<I, S>(self, names: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

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 Debug for PkgBuildBuilder[src]

impl Default for PkgBuildBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.