- what a package helper is
- a minimal package helper
- building blocks of a package helper
- examples of package helpers
what a package helper is
Package helpers are shell scripts written in GNU Bash to fetch the source code of packages from Ubuntu or Debian repositories, Launchpad, or other APT repositories and modify them as we want and compile them on Trisquel servers to be included in official Trisquel repositories.
a minimal package helper
This is a minimal package helper,
This package helper is named make-update-notifier and is available here
building blocks of a package helper
a package helper consists of many elements, which we discuss here.
Package helpers are named according to the following syntax,
Be aware that SourcePackageName is NOT necessarily the name of the package. For example, if you want to write a package helper for gnome-colors-common you can use the following command:
and for our example,
and as you see in the second line of the output the sourcePackageName is gnome-colors and not gnome-colors-common. Therefore, you must name the package as
The mentioned mistake had occured in Trisquel repositories but it was solved soon.
The first part of each package helper is the license section. At Trisquel project, generally, GNU GPL v2+ has been used for user contributions.
examples of package helpers
removing Ubuntu references
### importing from an upstream deb repo ### removing non-free files ### removing non-free references —–