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

Antonio Rojas arojas at gemini.archlinux.org
Sun May 29 11:49:56 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:49:56
  Author: arojas
Revision: 446920

Remove duplicated display fonts (FS#74852)

Modified:
  noto-fonts/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-29 11:47:44 UTC (rev 446919)
+++ PKGBUILD	2022-05-29 11:49:56 UTC (rev 446920)
@@ -4,7 +4,7 @@
 pkgname=(noto-fonts noto-fonts-extra ttf-croscore)
 pkgver=20220502
 _commit=c5481f3a1b57d54190a4e7881103033fbbbcec0c
-pkgrel=2
+pkgrel=3
 pkgdesc='Google Noto TTF fonts'
 arch=(any)
 url='https://www.google.com/get/noto/'
@@ -49,6 +49,9 @@
   install -Dm644 "$srcdir"/*.conf -t "$pkgdir"/usr/share/fontconfig/conf.avail/
   install -d "$pkgdir"/usr/share/fontconfig/conf.default
   ln -rs "$pkgdir"/usr/share/fontconfig/conf.avail/* "$pkgdir"/usr/share/fontconfig/conf.default
+
+  # Remove duplicate Display fonts https://github.com/googlefonts/noto-fonts/issues/2315
+  rm "$pkgdir"/usr/share/fonts/noto/NotoSans-Display*
 }
 
 package_noto-fonts-extra() {
@@ -58,6 +61,9 @@
   cd $pkgbase
   mkdir -p "$pkgdir"/usr/share/fonts/noto
   cp hinted/ttf/Noto*/*{Condensed,SemiBold,Extra}*.tt[fc] "$pkgdir"/usr/share/fonts/noto
+
+  # Remove duplicate Display fonts https://github.com/googlefonts/noto-fonts/issues/2315
+  rm "$pkgdir"/usr/share/fonts/noto/NotoSans-Display*
 }
 
 package_ttf-croscore() {



More information about the arch-commits mailing list