## pkg_deb_impl

pkg_deb_impl(name, architecture, architecture_file, breaks, built_using, built_using_file,
             conffiles, conffiles_file, config, conflicts, data, depends, depends_file, description,
             description_file, distribution, enhances, homepage, maintainer, out, package,
             package_file_name, package_variables, postinst, postrm, predepends, preinst, prerm,
             priority, provides, recommends, replaces, section, suggests, templates, triggers,
             urgency, version, version_file)

**ATTRIBUTES**

| Name  | Description | Type | Mandatory | Default |
| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
| name |  A unique name for this target.   | Name (https://bazel.build/docs/build-ref.html#name) | required |  |
| architecture |  Package architecture. Must not be used with architecture_file.   | String | optional | "all" |
| architecture_file |  File that contains the package architecture.             Must not be used with architecture.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| breaks |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| built_using |  The tool that were used to build this package provided either inline (with built_using) or from a file (with built_using_file).   | String | optional | "" |
| built_using_file |  The tool that were used to build this package provided either inline (with built_using) or from a file (with built_using_file).   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| conffiles |  The list of conffiles or a file containing one conffile per line. Each item is an absolute path on the target system where the deb is installed. See https://www.debian.org/doc/debian-policy/ch-files.html#s-config-files.   | List of strings | optional | [] |
| conffiles_file |  The list of conffiles or a file containing one conffile per line. Each item is an absolute path on the target system where the deb is installed. See https://www.debian.org/doc/debian-policy/ch-files.html#s-config-files.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| config |  config file used for debconf integration.             See https://www.debian.org/doc/debian-policy/ch-binary.html#prompting-in-maintainer-scripts.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| conflicts |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| data |  A tar file that contains the data for the debian package.   | Label (https://bazel.build/docs/build-ref.html#labels) | required |  |
| depends |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| depends_file |  File that contains a list of package dependencies. Must not be used with depends.             See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| description |  The package description. Must not be used with description_file.   | String | optional | "" |
| description_file |  The package description. Must not be used with description.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| distribution |  TBD   | String | optional | "unstable" |
| enhances |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| homepage |  The homepage of the project.   | String | optional | "" |
| maintainer |  The maintainer of the package.   | String | required |  |
| out |  See Common Attributes   | Label (https://bazel.build/docs/build-ref.html#labels) | required |  |
| package |  The name of the package   | String | required |  |
| package_file_name |  See Common Attributes.             Default: "%{package}-%{version}-%{architecture}.deb   | String | optional | "" |
| package_variables |  See Common Attributes   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| postinst |  The post-install script for the package.             See http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| postrm |  The post-remove script for the package.             See http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| predepends |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| preinst |  "The pre-install script for the package.             See http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| prerm |  The pre-remove script for the package.             See http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| priority |  The priority of the package.             See http://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities.   | String | optional | "" |
| provides |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| recommends |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| replaces |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| section |  The section of the package.             See http://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections.   | String | optional | "" |
| suggests |  See http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps.   | List of strings | optional | [] |
| templates |  templates file used for debconf integration.             See https://www.debian.org/doc/debian-policy/ch-binary.html#prompting-in-maintainer-scripts.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| triggers |  triggers file for configuring installation events exchanged by packages.             See https://wiki.debian.org/DpkgTriggers.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |
| urgency |  TBD   | String | optional | "medium" |
| version |  Package version. Must not be used with version_file.   | String | optional | "" |
| version_file |  File that contains the package version.             Must not be used with version.   | Label (https://bazel.build/docs/build-ref.html#labels) | optional | None |

## pkg_deb

pkg_deb(name, archive_name, kwargs)

Creates a deb file. See pkg_deb_impl.

**PARAMETERS**

| Name  | Description | Default Value |
| :-------------: | :-------------: | :-------------: |
| name |  
 - 
   |  none |
| archive_name |  
 - 
   |  None |
| kwargs |  
 - 
   |  none |

