Skip to content

Soundux/pacstall-programs

 
 

Repository files navigation

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-package/
        └── example-package.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

About

Pacstall's official program repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%