[arch-commits] Commit in noto-fonts-cjk/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Sep 9 19:25:57 UTC 2017


    Date: Saturday, September 9, 2017 @ 19:25:57
  Author: heftig
Revision: 305189

Put the CJK fonts into their own dir

These are really, really large and take a long time for fontconfig to scan. Put them into their own
dir so an update of other noto fonts doesn't trigger a scan of the CJK fonts.

Modified:
  noto-fonts-cjk/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-09 17:28:03 UTC (rev 305188)
+++ PKGBUILD	2017-09-09 19:25:57 UTC (rev 305189)
@@ -13,7 +13,6 @@
 sha256sums=('5e47b92a1612d25e1f12295a0ce67521936043b9ce871b676410fe73be2f32a9')
 
 package() {
-  mkdir -p "$pkgdir"/usr/share/fonts/noto
-  install -m644 noto-cjk-*/*.ttc "$pkgdir"/usr/share/fonts/noto
-  install -Dm644 noto-cjk-*/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dt "$pkgdir"/usr/share/fonts/noto-cjk -m644 noto-cjk-*/*.ttc
+  install -Dt "$pkgdir"/usr/share/licenses/noto-cjk -m644 noto-cjk-*/LICENSE
 }



More information about the arch-commits mailing list