Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 2.57 KB

README.md

File metadata and controls

52 lines (36 loc) · 2.57 KB

Pacstall Programs

This is the default repository of pacscripts which pacstall uses to install software. You can fork this repository and add make your own package repository as long as it follows the basic structure:

package-repository/
├── packagelist
└── packages/
    └── example-package1/
    |   └── example-package1.pacscript
    └── example-package2/
        └── example-package2.pacscript

You can then use pacstall -A command to add your repository to your repolist. Consult the wiki for more info.

How to setup the environment for pacscript development

If you need help making a pacscript, visit our wiki.

This repository maintains a certain standard of commits. To ensure that your commits are up to the standard, we use pre-commit hooks.

Here are the development dependencies that you need to install as a developer:

Dependency How to install
pre-commit sudo pip install pre-commit
shellcheck pacstall -PI shellcheck-bin
shfmt pacstall -PI shfmt-bin
editor-config Install the plugin for your editor

After the dependencies are installed simply clone this repository, and use pre-commit install to install the pre-configured hooks to your cloned repository.

Now, whenever you try to commit a patch all the configured hooks will run and block/fix your code so that it adheres to or standards.

In case for some reason (false positives etc), you want to skip the hooks commit using git commit --no-verify

License

Pacstall programs are licensed under the MIT License.

Note MIT license does not apply to the packages built by Pacstall, merely to the files in this repository (the pacscripts, GitHub Action workflows, documentation, etc.). It also might not apply to patches included in pacscripts, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.

Stats

Repobeats analytics image