well, let's see...
- both software installed and the installer script MUST be open-source, accessible via a git/mercurial/subversion repository.
- both software installed and the installer script MUST NOT contain any type of malware
- the so-called "installer" MUST install ONLY the software and ITS DEPENDENCIES. bundleware IS NOT allowed.
- the installer MUST actually INSTALL the package it is connected to. EMPTY shell scripts are NOT allowed.
- the installer should add
# shpkg-name! package-name
# shpkg-desc! package-description
# shpkg-by! package-author
at the top of the file, AFTER the shebang line. (it makes us easier to manage the packages)
- fork the git repository
https://github.com/shpkg/repo
. - add your install script to /install. for example, if i wanted to add betterfetch, i would create a file called
betterfetch.sh
. make sure that you added the shpkg properties after the shebang line. - add your uninstall script to /uninstall. for example, if i wanted to add betterfetch, i would create a file called
betterfetch.sh
. make sure that you added the shpkg properties after the shebang line. - open a pull request. do not forget to answer the questions in the pull request template.
- wait! congrats, you just submitted your first ever sh package!