Jump to content

Init package guidelines

From ArchWiki
Arch package guidelines

32-bit – CLR – CMake – Cross – DKMS – Eclipse – Electron – Font – Free Pascal – GNOME – Go – Haskell – Java – KDE – Kernel modules – Lisp – Meson – MinGW – Node.js – Nonfree – OCaml – Perl – PHP – Python – R – Ruby – Rust - Security – Shell – VCS – Web – Wine

This document covers standards and guidelines on writing PKGBUILDs for init scripts, e.g. openrcAUR.

Package naming

For init scripts, use modulename-init. For example: ananicy-cpp-openrcAUR, ananicy-cpp-runitAUR, ananicy-cpp-dinitAUR, ananicy-cpp-s6AUR.

Note The package name should be entirely lowercase.

Architecture

See PKGBUILD#arch.

A init script should be architecture-independent.

Depends

All scripts should depend on its init, i.e. ananicy-cpp-openrcAUR requires openrcAUR for it to work.