Skip to content

Package Addition Policy

Ivan Max edited this page Jun 27, 2024 · 3 revisions

The Termux-Pacman organization accepts requests for new packages based on the glibc library for Termux, but these packages must meet our requirements.

Pay attention to:

  • The request can be for any package, regardless of whether the same package on bionic exists.
  • A request for a new package is only accepted for the gpkg repo, requests for the cgct repo will be denied or changed to meet the requirements for the gpkg repo.
  • In case of violation of the requirement, the request must be changed to comply with our requirements. But if nothing can be changed, the request will be rejected.

Requirements:

  • We use build-package.sh to compile packages, so a build.sh file must be present in the requested package (more info).
  • The requested package must be located in the gpkg/ directory.
  • The components (that is, libraries, programs, scripts and other files) of the requested package must be installed so that they do not create conflicts with the bionic environment and with other packages.
  • The source of the requested package must be scripts for compilation or a compiled linux binary if compilation is impossible (for example, if the source scripts are not available). Depending on the source, there are additional requirements:
    • If the source of the requested package is scripts for compilation, then the source must be an archive that will be downloaded through an official repository/link or through a mirror.
    • If the source of the requested package is a compiled linux binary, then:
      • The requested package name must end with a -bin prefix.
      • The description of the requested package must indicate that this is a binary implementation.
      • The compiled linux binary of the requested package must only be downloaded via the official link of the project/organization/creator.
  • The function of the requested package must not be related to hacking, phishing, spamming, spying and ddos ​​in any way.
  • The requested package is difficult to install or cannot be installed via pip, cpan, gem, npm, etc.
Clone this wiki locally