Manjaro Difference between revisions of "PKGBUILD/ru"

Difference between revisions of "PKGBUILD/ru"

From Manjaro
(Created page with "PKGBUILD")
Tags: Mobile web edit Mobile edit
 
(Created page with "== Переменные == Ниже перечислены переменные, которые могут быть заполнены в файле PKGBUILD. {{ic|pkgname}},...")
Line 5: Line 5:
Packages in Manjaro Linux are built using the [[makepkg]] utility and information stored in PKGBUILDs. When '''makepkg''' is run, it searches for a {{Ic|PKGBUILD}} in the current directory and follows the instructions therein to either compile or otherwise acquire the files to build a package file ({{ic|''pkgname''.pkg.tar.xz}}). The resulting package contains binary files and installation instructions, readily installed with [[pacman]].
Packages in Manjaro Linux are built using the [[makepkg]] utility and information stored in PKGBUILDs. When '''makepkg''' is run, it searches for a {{Ic|PKGBUILD}} in the current directory and follows the instructions therein to either compile or otherwise acquire the files to build a package file ({{ic|''pkgname''.pkg.tar.xz}}). The resulting package contains binary files and installation instructions, readily installed with [[pacman]].


== Variables ==
== Переменные ==
The following are variables that can be filled out in the PKGBUILD file. {{ic|pkgname}}, {{ic|pkgver}}, {{ic|pkgrel}}, and {{ic|arch}} are all mandatory. {{ic|license}} is not strictly necessary to build a package, but it is recommended for any PKGBUILDS you might want to share with others. {{ic|makepkg}} produces warnings if it isn't present.
Ниже перечислены переменные, которые могут быть заполнены в файле PKGBUILD. {{ic|pkgname}}, {{ic|pkgver}}, {{ic|pkgrel}} и {{ic|arch}} являются обязательными. {{ic|license}} не является строго необходимым для сборки пакета, но рекомендуется для любых PKGBUILDS, которыми вы, возможно, захотите поделиться с другими. При его отсутствии {{ic|makepkg}} выдает предупреждения.


It is common practice to define the variables in the PKGBUILD in same order as given here. However, this is not mandatory, as long as correct [[Bash]] syntax is used.
It is common practice to define the variables in the PKGBUILD in same order as given here. However, this is not mandatory, as long as correct [[Bash]] syntax is used.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.