Package Details: ttf-octicons 19.12.0-3

Git Clone URL: https://aur.archlinux.org/ttf-octicons.git (read-only, click to copy)
Package Base: ttf-octicons
Description: A scalable set of icons handcrafted with <3 by GitHub
Upstream URL: https://octicons.github.com/
Keywords: font octicons ttf
Licenses: MIT
Submitter: WhittlesJr
Maintainer: clebermatheus
Last Packager: clebermatheus
Votes: 6
Popularity: 0.122789
First Submitted: 2017-04-27 00:48 (UTC)
Last Updated: 2024-11-10 01:17 (UTC)

Latest Comments

« First ‹ Previous 1 2

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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)

https://pastebin.pl/view/1b4ebc30

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.