Translations:Create Manjaro Packages/67/en

  1. Download the source tarball of the software you want to package.
  2. Try compiling the package and installing it into an arbitrary directory.
  3. Copy over the prototype /usr/share/pacman/PKGBUILD.proto and rename it to PKGBUILD in a temporary working directory -- preferably ~/abs/.
  4. Edit the PKGBUILD according to the needs of your package.
  5. Run makepkg and see whether the resulting package is built correctly.
  6. If not, repeat the last two steps.