Package Details: nerd-fonts-git 1:3.0.0.r30.g58504d670-1

Git Clone URL: https://aur.archlinux.org/nerd-fonts-git.git (read-only, click to copy)
Package Base: nerd-fonts-git
Description: Iconic font aggregator, collection, and patcher: 34 patched fonts (77k variations). Includes popular glyph collections such as Font Awesome & fonts such as Hack
Upstream URL: https://github.com/ryanoasis/nerd-fonts
Licenses: MIT
Conflicts: nerd-fonts, nerd-fonts-anonymous-pro, nerd-fonts-arimo, nerd-fonts-bitstream-vera-mono, nerd-fonts-cascadia-code, nerd-fonts-complete, nerd-fonts-complete-mono-glyphs, nerd-fonts-dejavu-complete, nerd-fonts-droid-sans-mono, nerd-fonts-fantasque-sans-mono, nerd-fonts-fira-code, nerd-fonts-fira-mono, nerd-fonts-go-mono, nerd-fonts-hack, nerd-fonts-hermit, nerd-fonts-ibm-plex-mono, nerd-fonts-inconsolata, nerd-fonts-inconsolata-go, nerd-fonts-iosevka, nerd-fonts-liberation-mono, nerd-fonts-meslo, nerd-fonts-monoid, nerd-fonts-mononoki, nerd-fonts-mplus, nerd-fonts-noto, nerd-fonts-noto-sans-mono, nerd-fonts-noto-sans-regular-complete, nerd-fonts-profont, nerd-fonts-roboto-mono, nerd-fonts-source-code-pro, nerd-fonts-terminus, nerd-fonts-ubuntu-mono, nerd-fonts-victor-mono, otf-nerd-fonts-fira-code, ttf-iosevka-nerd, ttf-nerd-fonts-hack-complete-git
Provides: nerd-fonts
Submitter: Foxboron
Maintainer: ChloeColman
Last Packager: FredBezies
Votes: 19
Popularity: 0.48
First Submitted: 2015-08-20 19:57 (UTC)
Last Updated: 2023-05-06 12:13 (UTC)

Dependencies (5)

Required by (10)

Sources (1)

Latest Comments

NovaViper commented on 2022-10-29 04:18 (UTC)

Trying to install this package but im getting this error:

==> Making package: nerd-fonts-complete 2.2.2-1 (Fri 28 Oct 2022 11:17:10 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found fix-installer-font-dir.patch
  -> Found nerd-fonts-2.2.2.tar.gz
==> Validating source files with sha256sums...
    fix-installer-font-dir.patch ... Passed
    nerd-fonts-2.2.2.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: nerd-fonts-complete

chabad360 commented on 2021-09-30 20:00 (UTC)

Can this package also provide ttf-font-nerd? Otherwise it conflicts with ttf-iosevka-nerd

tuxsavvy commented on 2020-07-09 12:55 (UTC) (edited on 2020-07-09 12:57 (UTC) by tuxsavvy)

Here's an updated variant that addresses a couple of issues. This is not to say that I know of the reason(s) why this package is/was flagged out of date:

  • Updated pkgdesc to note that this is coming directly from GitHub, and without the use of install.sh.

  • Updated makedepends and conflicts array to reflect on what other nerd-fonts commonly have.

  • Updated pkgver and package to resemble more closely to the nerd-fonts-complete AUR variant.

--- PKGBUILD.orig       2020-07-09 12:47:38.000000000 +0000
+++ PKGBUILD    2020-07-09 11:50:57.377978305 +0000
@@ -1,28 +1,79 @@

 # Maintainer: Morten Linderud <morten@linderud.pw> 
 pkgname=nerd-fonts-git
-pkgver=r549.c89aeaa7
-pkgrel=1
-pkgdesc="Iconic font aggregator, collection, and patcher: 34 patched fonts (77k+ variations). Includes popular glyph collections such as Font Awesome & fonts such as Hack"
+_gitname=nerd-fonts
+pkgver=r993.5f748cdb
+pkgrel=2
+pkgdesc="Iconic font aggregator, collection, and patcher: 34 patched fonts (77k+ variations). Includes popular glyph collections such as Font Awesome & fonts such as Hack. (GitHub variant)"
 arch=('any')
 url='https://github.com/ryanoasis/nerd-fonts'
 license=('MIT')
-makedepends=('git')
-conflicts=('nerd-fonts')
+makedepends=('git' 'fontconfig' 'xorg-mkfontscale' 'xorg-bdftopcf' 'xorg-font-util')
+conflicts=(
+    'nerd-fonts-complete'
+    'nerd-fonts-complete-mono-glyphs'
+    'nerd-fonts-anonymous-pro'
+    'nerd-fonts-arimo'
+    'nerd-fonts-bitstream-vera-mono'
+    'nerd-fonts-cascadia-code'
+    'nerd-fonts-dejavu-complete'
+    'nerd-fonts-droid-sans-mono'
+    'nerd-fonts-fantasque-sans-mono'
+    'nerd-fonts-fira-code'
+    'nerd-fonts-fira-mono'
+    'nerd-fonts-go-mono'
+    'nerd-fonts-hack'
+    'nerd-fonts-hermit'
+    'nerd-fonts-ibm-plex-mono'
+    'nerd-fonts-inconsolata'
+    'nerd-fonts-inconsolata-go'
+    'nerd-fonts-iosevka'
+    'nerd-fonts-liberation-mono'
+    'nerd-fonts-noto'
+    'nerd-fonts-noto-sans-mono'
+    'nerd-fonts-noto-sans-regular-complete'
+    'nerd-fonts-meslo'
+    'nerd-fonts-monoid'
+    'nerd-fonts-mononoki'
+    'nerd-fonts-mplus'
+    'nerd-fonts-profont'
+    'nerd-fonts-roboto-mono'
+    'nerd-fonts-source-code-pro'
+    'nerd-fonts-terminus'
+    'nerd-fonts-ubuntu-mono'
+    'nerd-fonts-victor-mono'
+    'otf-nerd-fonts-fira-code'
+    'ttf-nerd-fonts-hack-complete-git')
 provides=('nerd-fonts')
 source=('git+https://github.com/ryanoasis/nerd-fonts.git')
-md5sums=('SKIP')
+sha256sums=('SKIP')

 pkgver() {
-  cd nerd-fonts
+  cd "$_gitname"
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

 package() {
-  cd "$srcdir/nerd-fonts/patched-fonts"
-  find . -iname "*.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \;
-  find . -iname "*.otf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/OTF/{}" \;
-  find . -iname "*.pcf.gz" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/misc/{}" \;
-  find . -iname "*.psf.gz" -execdir install -Dm644 {} "$pkgdir/usr/share/kbd/consolefonts/{}" \;
-  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Prepare destination directories
+  libdir="${pkgdir}/usr/lib/${pkgname}"
+  otfdir="${pkgdir}/usr/share/fonts/${pkgname}/OTF"
+  ttfdir="${pkgdir}/usr/share/fonts/${pkgname}/TTF"
+
+  install -dm755 "${libdir}"
+  install -dm755 "${otfdir}"
+  install -dm755 "${ttfdir}"
+
+  # Install fonts
+  find "${srcdir}/${_gitname}/patched-fonts" -iname "*.ttf" -execdir install -m644 {} "${ttfdir}/{}" \;
+  find "${srcdir}/${_gitname}/patched-fonts" -iname "*.otf" -execdir install -m644 {} "${otfdir}/{}" \;
+#  find "${srcdir}/${_gitname}/patched-fonts" -iname "*.pcf.gz" -execdir install -m644 {} "$pkgdir/usr/share/fonts/misc/{}" \;
+#  find "${srcdir}/${_gitname}/patched-fonts" -iname "*.psf.gz" -execdir install -m644 {} "$pkgdir/usr/share/kbd/consolefonts/{}" \;
+
+  # Install scripts
+  find "${srcdir}/${_gitname}/bin/scripts/lib" -iname "*.sh" -execdir install -m644 {} "${libdir}/{}" \;
+
+  # Install license
+  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 "${srcdir}/${_gitname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

halfhorn commented on 2020-02-17 00:53 (UTC)

Why is this flagged out of date?

chabad360 commented on 2019-08-09 00:53 (UTC)

Can you update this?

Desdic commented on 2017-05-03 18:08 (UTC)

Anyone else gets this when trying to install find: The current directory is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove the current directory from your $PATH (that is, remove ".", doubled colons, or leading or trailing colons) ==> ERROR: A failure occurred in package(). Aborting... :: failed to build nerd-fonts-git package(s) I don't have . in my path

Rhinoceros commented on 2016-02-02 03:33 (UTC)

This failed for me with ==> ERROR: url should not be an array I removed the () from around the url field, and it seems to work (I aborted before completion, since it was too large).