Manjaro Difference between revisions of "PKGBUILD/ru"

Difference between revisions of "PKGBUILD/ru"

From Manjaro
Tags: Mobile web edit Mobile edit
(Created page with "Обратите внимание, что в то время как массив {{ic|source}} принимает URL, {{ic|noextract}} - это '''просто''' часть...")
Tags: Mobile web edit Mobile edit
Line 153: Line 153:
  unzip [источник].zip
  unzip [источник].zip


Note that while the {{ic|source}} array accepts URLs, {{ic|noextract}} is '''just''' the file name portion. So, for example, you would do something like this (simplified from [https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/grub grub2's PKGBUILD]):
Обратите внимание, что в то время как массив {{ic|source}} принимает URL, {{ic|noextract}} - это '''просто''' часть имени файла. Так, например, вы можете сделать что-то вроде этого (упрощенно из [https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/grub grub2's PKGBUILD]):


  source=(<nowiki>"http://ftp.archlinux.org/other/grub2/grub2_extras_lua_r20.tar.xz"</nowiki>)
  source=(<nowiki>"http://ftp.archlinux.org/other/grub2/grub2_extras_lua_r20.tar.xz"</nowiki>)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.