| | |
PKGBUILD(5) Pacman Manual PKGBUILD(5) | PKGBUILD(5) Pacman Manual PKGBUILD(5) History of edits
(Latest: NoVASpirit 7 months ago)
§ | |
NAME PKGBUILD - Arch Linux package build description file | НАЗВАНИЕ PKGBUILD - Файл сборки пакетов для Arch Linux History of edits
(Latest: NoVASpirit 7 months ago)
§ | |
| | |
DESCRIPTION This manual page is meant to describe general rules about PKGBUILDs. Once a PKGBUILD is written, the actual package is built using makepkg and installed with pacman. | ОПИСАНИЕ Данное руководство предназначено для описания общих правил о PKGBUILDs. После того как вы напишите PKGBUILD , можно будет собрать пакет используя команду makepkg и установить командой pacman -U пакет History of edits
(Latest: NoVASpirit 7 months ago)
§ | |
Note An example PKGBUILD, useful for reference, is located in /usr/share/pacman. Also located there are other example files such as a ChangeLog and an install script. You can copy the provided PKGBUILD.proto file to a new package build directory and make customizations to suit your needs. | Примечание Полезные справки для PKGBUILD, находится в /usr/share/pacman. Есть и другие файлы например, такие как ChangeLog и install script. Вы можете скопировать файл PKGBUILD.proto в директорию для сборки и сделать настройки в соответствии с вашими потребностями. History of edits
(Latest: NoVASpirit 7 months ago)
§ | |
OPTIONS AND DIRECTIVES The following is a list of standard options and directives available for use in a PKGBUILD. These are all understood and interpreted by makepkg, and most will be directly transferred to the built package. | ОПЦИИ И ДИРЕКТИВЫ Ниже приводится список стандартных опций и директив доступны для использования в PKGBUILD. Все они поняты и интерпретированы в makepkg, и большинство из них будет поступать непосредственно в бинарный пакет. History of edits
(Latest: NoVASpirit 7 months ago)
§ | |
If you need to create any custom variables for use in your build process, it is recommended to name your custom variables with an _ (underscore) prefix. This will prevent any possible name clashes with internal makepkg variables. For example, to store the base kernel version in a variable, use something similar to $_basekernver. | Если вам нужно создать какой-либо пользовательские переменные для использования в процессе сборки, рекомендуется называть пользовательские переменных с префиксом подчеркивания (_). Это позволит предотвратить любые возможные ошибки, вызванные совпадением с внутренними названиями переменных makepkg. Например, для хранения базовой переменной версии в ядре , используется что-то похожее на $_basekernver. History of edits
(Latest: storm 1 month, 2 weeks ago)
§ | |
pkgname (array) The name of the package. This has be a unix-friendly name as it will be used in the package filename. Members of the array are not allowed to start with hyphens. | pkgname (array) Имя пакета. Это должно быть Unix-подобное имя, оно будет использоваться в файле пакета. Названиене может начинаться с дефиса. History of edits
(Latest: storm 1 month, 2 weeks ago)
§ | |
pkgver The version of the software as released from the author (e.g. 2.7.1). The variable is not allowed to contain colons or hyphens. | pkgver Версия программного обеспечения, назначенная автором (например, 2.7.1). Переменная не может содержать двоеточие или дефис. History of edits
(Latest: storm 1 month, 2 weeks ago)
§ | |
pkgrel This is the release number specific to the Arch Linux release. This allows package maintainers to make updates to the package’s configure flags, for example. A pkgrel of 1 is typically used for each upstream software release and is incremented for intermediate PKGBUILD updates. The variable is not allowed to contain hyphens. | pkgrel Это номер выпуска релиза специфичный для Arch Linux. Это позволяет людям которые собирают пакеты, сделать обновления для настройки флагов, например. Pkgrel обычно начитается с 1 версии программного обеспечения и увеличивается на единицу для промежуточных обновлений PKGBUILD. Переменная не может содержать дефисы. History of edits
(Latest: storm 1 month, 2 weeks ago)
§ | |