-
Notifications
You must be signed in to change notification settings - Fork 0
Spec file ‐ the PKGBUILD
Gianluca Boiano edited this page Mar 16, 2024
·
1 revision
Key | Type | Value |
---|---|---|
pkgname |
string |
Package name |
epoch |
string |
Package epoch |
pkgver |
string |
Package version |
pkgrel |
string |
Package release number |
pkgdesc |
string |
Short package description |
maintainer |
string |
Package maintainer |
arch |
list |
Package architecture, can be any or x86_64
|
license |
list |
List of licenses for packaged software |
section |
string |
Section for package. Built in sections available: admin localization mail comm math database misc debug net news devel doc editors electronics embedded fonts games science shells sound graphics text httpd vcs interpreters video web kernel x11 libdevel libs
|
priority |
string |
Package priority, only used for Debian packages |
url |
string |
Package url |
depends |
list |
List of package dependencies |
optdepends |
list |
List of package optional dependencies |
makedepends |
list |
List of package build dependencies |
provides |
list |
List of packages provided |
conflicts |
list |
List of packages conflicts |
source |
list |
List of packages sources. Sources can be url or paths that are relative to the PKGBUILD |
debconf_config |
string |
File used as debconf config, only used for Debian packages |
debconf_template |
string |
File used as debconf template, only used for Debian packages |
hashsums |
list |
List of sha256 /sha512 hex hashes for sources, hash type is determined by the length of the hash. Use SKIP to ignore hash check |
backup |
list |
List of config files that shouldn't be overwritten on upgrades |
build |
func |
Function to build the source, starts in srcdir |
package |
func |
Function to package the source into the pkgdir, starts in srcdir |
preinst |
func |
Function to run before installing |
postinst |
func |
Function to run after installing |
prerm |
func |
Function to run before removing |
postrm |
func |
Function to run after removing |