Free Pascal package guidelines
This page explains on how to write PKGBUILDs for software built with the Free Pascal Compiler (FPC). There currently exists two options for building software of Linux, as well as a handful of options for building software on other targets using FPC cross compilers:
- is available in the official Arch community repository and provides a compiler targetting only your host CPU (i686 or x86_64).
- Arch User Repository which provides an x86_64 host compiler targetting both i686 and x86_64 CPU Linuxes. This will also provide the AUR FPC compiler driver package. AUR is available from the
- AUR for ARM-based Linux
- AUR for MS Windows CE
- AUR for 32-bit Intel FreeBSD
- AUR for 32-bit MS Windows
- AUR for 32-bit PowerPC-based Linux
- AUR for SPARC-based Linux
- AUR for 64-bit MS Windows
The project name alone is usually sufficient. However, in the case of cross-compiling, the package should be named
fpc32-pkgname when targetting i686 Linux from multilib and
fpc-cpu-system-pkgname when targetting non-Arch Linux systems.