Optionally, you can replace custom with custom: name of license.For information on the PKGBUILD functions and creating packages in general, refer to Creating packages.When makepkg is run, it searches for a PKGBUILD file in the current directory and follows the instructions therein to either compile or otherwise acquire the files to build a package archive ( pkgname.pkg.tar.xz ).The resulting package contains binary files and installation instructions, readily installable with pacman.
However, this is not mandatory, as long as correct Bash syntax is used. If not specified, the value will default to the first element in the pkgname array. Nevertheless, the following ones can be overridden within each split packages packaging function: pkgdesc, arch, url, license, groups, depends, optdepends, provides, conflicts, replaces, backup, options, install, and changelog. Pkgbuild Software Is InFor the sake of consistency, pkgname should match the name of the source tarball of the software: for instance, if the software is in foobar-2.5.tar.gz, use pkgnamefoobar. This should be the same as the version published by the author of the upstream software. It can contain letters, numbers, periods and underscores, but not a hyphen ( - ). If the author of the software uses one, replace it with an underscore ( ). If the pkgver variable is used later in the PKGBUILD, then the underscore can easily be substituted for a hyphen, e.g. See VCS package guidelinesThe pkgver() function for details. As fixes and additional features are added to the PKGBUILD that influence the resulting package, the pkgrel should be incremented by 1. When a new version of the software is released, this value must be reset to 1. In exceptional cases other formats can be found in use, such as major.minor. This value is required to be a non-negative integer; the default is 0. It is used when the version numbering scheme of a package changes (or is alphanumeric), breaking normal version comparison logic. This is recommended to be 80 characters or less and should not include the package name in a self-referencing way, unless the application name differs from the package name. For example, use pkgdescText editor for X11 instead of pkgdescNedit is a text editor for X11. ![]() For example, Arch Linux 32 provides support for i686 and Arch Linux ARM provides support for arm (armv5), armv6h (armv6 hardfloat), armv7h (armv7 hardfloat), and aarch64 (armv8 64-bit). For these packages, specify all architectures that the PKGBUILD officially supports. Optionally, AUR packages may choose to additionally support other known working architectures. The licenses package (a dependency of the base meta package ) contains many commonly used licenses, which are installed under usrsharelicensescommon. If a package is licensed under one of these licenses, the value should be set to the directory name, e.g. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |