Broken_Dynamo

Untitled

Mar 3rd, 2022 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. Nerd Font install instructions: https://gist.github.com/smac89/35d1c7576889419854e3c7d2684cb759
  2. Hack Nerd Font PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nerd-fonts-hack
  3.  
  4. nerd-fonts-hack-git.pacscript
  5.  
  6. name=nerd-fonts-hack-git
  7. pkgname=nerd-fonts-hack
  8. version="2.1.0"
  9. url="https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/Hack.zip"
  10. description="Patched font Hack from nerd-fonts library"
  11. hash="70852e59fcffbe31d401f615625bcb9ebb6af72732c2f1fe9b9d5370c2565514"
  12. maintainer="ajr <public-dexd7c@ajr.anonaddy.com>"
  13.  
  14. install() {
  15. install -d "$STOWDIR/$name"/usr/share/fonts/TTF
  16. rm "${SRCDIR}/"*"Windows Compatible.ttf"
  17. install -Dm644 "${SRCDIR}/"*.ttf "$STOWDIR/$name"/usr/share/fonts/TTF
  18. }
  19.  
  20. $ pacstall -Il nerd-fonts-hack-git
  21. Do you want to view/edit the pacscript [y/N]
  22. [+] INFO: Sourcing pacscript
  23. [+] INFO: URL exists
  24. [+] INFO: Creating dummy package
  25. Reading package lists... Done
  26. Building dependency tree
  27. Reading state information... Done
  28. Note, selecting 'nerd-fonts-hack-git' instead of '/tmp/pacstall/nerd-fonts-hack-git-pacstall.deb'
  29. The following NEW packages will be installed:
  30. nerd-fonts-hack-git
  31. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  32. After this operation, 0 B of additional disk space will be used.
  33. Get:1 /tmp/pacstall/nerd-fonts-hack-git-pacstall.deb nerd-fonts-hack-git all 2.1.0-1 [1212 B]
  34. Selecting previously unselected package nerd-fonts-hack-git.
  35. (Reading database ... 131280 files and directories currently installed.)
  36. Preparing to unpack .../nerd-fonts-hack-git-pacstall.deb ...
  37. Unpacking nerd-fonts-hack-git (2.1.0-1) ...
  38. Setting up nerd-fonts-hack-git (2.1.0-1) ...
  39. [+] INFO: Installing dependencies
  40. [+] INFO: Retrieving packages
  41. Initializing download: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
  42. File size: 14481571 bytes
  43. Opening output file Hack.zip
  44. Starting download
  45.  
  46. Connection 1 finished
  47. Connection 3 finished
  48. Connection 2 finished
  49. Connection 0 finished
  50. Connection 1 finished
  51. Connection 3 finished
  52. Connection 0 finished
  53. Connection 1 unexpectedly closed
  54. Connection 2 finished
  55. Connection 3 finished
  56.  
  57. Downloaded 13.8107 Megabyte(s) in 2 second(s). (5717.51 KB/s)
  58. [*] WARNING: Could not enter into the downloaded archive
  59. [+] INFO: Preparing
  60. /usr/share/pacstall/scripts/install-local.sh: line 527: prepare: command not found
  61. [!] ERROR: Could not prepare nerd-fonts-hack-git properly
  62. [+] INFO: Cleaning up
Add Comment
Please, Sign In to add comment