Package Details: ttf-octicons 19.8.0-1

Git Clone URL: (read-only, click to copy)
Package Base: ttf-octicons
Description: A scalable set of icons handcrafted with <3 by GitHub
Upstream URL:
Keywords: font octicons ttf
Licenses: MIT
Submitter: WhittlesJr
Maintainer: clebermatheus
Last Packager: clebermatheus
Votes: 5
Popularity: 0.000000
First Submitted: 2017-04-27 00:48 (UTC)
Last Updated: 2023-10-12 03:12 (UTC)

Latest Comments

dreieck commented on 2023-12-19 14:52 (UTC)

This PKGBUILD downloads stuff in package().

This must not happen.

Can you move all npm-related download stuff into prepare(), all file compilation stuff into build(), and only copying files in place into prepare()?

==> Starting package()...
npm WARN registry Unexpected warning for Miscellaneous Warning ERR_SOCKET_TIMEOUT: request to failed, reason: Socket timeout
npm WARN registry Using stale data from due to a request error during revalidation.
[..................] - idealTree:yargs: WARN registry Using stale data from due to a request error during revalidation.

Regards and thanks for maintaining!

Thaodan commented on 2022-09-30 05:30 (UTC)

Is nvm really needed for this pkg?

clebermatheus commented on 2021-08-02 00:44 (UTC)

@Xaryphon thanks

Xaryphon commented on 2021-08-01 09:35 (UTC) (edited on 2021-08-01 09:36 (UTC) by Xaryphon)

Hello, there seems to be a couple of issues with PKGBUILD:

  • The fantasticon package gets installed to node_modules/node_modules instead of just node_modules
  • node_modules/.bin is not in the path so building will fail
  • (oh and there is a new version out as well)

The following patch fixes the two main issues

diff --git a/PKGBUILD b/PKGBUILD
index 03dbb6b..1f5e4bf 100644
@@ -16,11 +16,9 @@ package() {
   cd "${srcdir}/octicons-${pkgver}"
   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE

-  local npmdir=node_modules
-  mkdir -p "$npmdir"
-  npm install --prefix "$npmdir" fantasticon
+  npm install fantasticon
   mkdir 'font'
-  fantasticon icons -o font -t ttf -n octicons
+  npm exec -- fantasticon icons -o font -t ttf -n octicons

   install -d $pkgdir/usr/share/fonts/TTF/
   install -m644 font/octicons.ttf $pkgdir/usr/share/fonts/TTF/

hk3wx commented on 2020-11-02 16:28 (UTC)

There is no xorg-font-utils anymore.

windsorHaze commented on 2020-09-26 21:23 (UTC) (edited on 2020-09-26 21:23 (UTC) by windsorHaze)

In the above pastebin I've included the changes to the PKGBUILD necessary to build the aur ttf-octicons without errors. ( at least on my system ( endeavousOS ))

sunng commented on 2020-07-03 02:39 (UTC)

xorg-font-utils is removed from aur, consider to depend on xorg-font-util from extra

WhittlesJr commented on 2017-06-19 13:03 (UTC)

With 5.0.0, they've stopped distributing webfonts. I looked into some SVG to ttf options, and it's doable, but I wont have time for a few days. If someone wants to co-maintain and do this themselves, I'd be all for it.