Jump to content

Init package guidelines

From ArchWiki
Arch package guidelines

32-bitCLRCMakeCrossDKMSEclipseElectronFontFree PascalGNOMEGoHaskellJavaKDEKernel modulesLispMesonMinGWNode.jsNonfreeOCamlPerlPHPPythonRRubyRust - SecurityShellVCSWebWine

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.