Difference between revisions of "VCS PKGBUILD Guidelines/ru"

Created page with "=== Источники VCS === {{BoxInfo|Примечание|Pacman 4.1 поддерживает следующие источники VCS: {{ic|bzr}}, {{ic|git}}, {{ic|hg}}..."
(Created page with "* Включите соответствующий инструмент VCS в {{Ic|1=makedepends=()}} ({{ic|cvs}}, {{ic|subversion}}, {{ic|git}}, ...).")
(Created page with "=== Источники VCS === {{BoxInfo|Примечание|Pacman 4.1 поддерживает следующие источники VCS: {{ic|bzr}}, {{ic|git}}, {{ic|hg}}...")
Line 19: Line 19:
* Включите соответствующий инструмент VCS в {{Ic|1=makedepends=()}} ({{ic|cvs}}, {{ic|subversion}}, {{ic|git}}, ...).
* Включите соответствующий инструмент VCS в {{Ic|1=makedepends=()}} ({{ic|cvs}}, {{ic|subversion}}, {{ic|git}}, ...).


=== VCS sources ===
=== Источники VCS ===
{{Note|Pacman 4.1 supports the following VCS sources: {{ic|bzr}}, {{ic|git}}, {{ic|hg}} and {{ic|svn}}. See the {{ic|fragment}} section of {{ic|man PKGBUILD}} or [https://www.archlinux.org/pacman/PKGBUILD.5.html PKGBUILD(5)] for a list of supported VCS.}}
{{BoxInfo|Примечание|Pacman 4.1 поддерживает следующие источники VCS: {{ic|bzr}}, {{ic|git}}, {{ic|hg}} и {{ic|svn}}. Список поддерживаемых VCS см. в разделе {{ic|fragment}} в {{ic|man PKGBUILD}} или [https://www.archlinux.org/pacman/PKGBUILD.5.html PKGBUILD(5)].}}


Starting with {{ic|pacman}} 4.1, the VCS sources should be specified in the {{ic|1=source=()}} array and will be treated like any other source. {{ic|makepkg}} will clone/checkout/branch the repo into {{ic|$SRCDEST}} (same as {{ic|$startdir}} if not set in [https://www.archlinux.org/pacman/makepkg.conf.5.html makepkg.conf(5)]) and copy it to {{ic|$srcdir}} (in a specific way to each VCS). The local repo is left untouched, thus invalidating the need for a {{ic|-build}} directory.
Starting with {{ic|pacman}} 4.1, the VCS sources should be specified in the {{ic|1=source=()}} array and will be treated like any other source. {{ic|makepkg}} will clone/checkout/branch the repo into {{ic|$SRCDEST}} (same as {{ic|$startdir}} if not set in [https://www.archlinux.org/pacman/makepkg.conf.5.html makepkg.conf(5)]) and copy it to {{ic|$srcdir}} (in a specific way to each VCS). The local repo is left untouched, thus invalidating the need for a {{ic|-build}} directory.
translator
10,756

edits