translator
11,049
edits
(Created page with "{{Tip|Прототип файла changelog (журнала изменений) представлен в {{ic|/usr/share/pacman/ChangeLog.proto}}.}}") Tags: Mobile web edit Mobile edit |
(Created page with "=== source === Массив файлов, необходимых для сборки пакета. Он должен содержать расположение источни...") |
||
Line 142: | Line 142: | ||
=== source === | === source === | ||
Массив файлов, необходимых для сборки пакета. Он должен содержать расположение источника программного обеспечения, который в большинстве случаев представляет собой полный HTTP или FTP URL. Здесь можно эффективно использовать ранее установленные переменные {{ic|pkgname}} и {{ic|pkgver}} (например, {{ic|<nowiki>source=(http://example.com/$pkgname-$pkgver.tar.gz)</nowiki>}}). | |||
{{Note|If you need to supply files which are not downloadable on the fly, e.g. self-made patches, you simply put those into the same directory where your {{ic|PKGBUILD}} file is in and add the filename to this array. Any paths you add here are resolved relative to the directory where the {{ic|PKGBUILD}} lies. Before the actual build process is started, all of the files referenced in this array will be downloaded or checked for existence, and {{ic|makepkg}} will not proceed if any are missing.}} | {{Note|If you need to supply files which are not downloadable on the fly, e.g. self-made patches, you simply put those into the same directory where your {{ic|PKGBUILD}} file is in and add the filename to this array. Any paths you add here are resolved relative to the directory where the {{ic|PKGBUILD}} lies. Before the actual build process is started, all of the files referenced in this array will be downloaded or checked for existence, and {{ic|makepkg}} will not proceed if any are missing.}} |