Date: Sunday, January 29, 2023 @ 22:58:40
  Author: arojas
Revision: 467626

archrelease: copy trunk to testing-any

Added:
  ttf-croscore/repos/
  ttf-croscore/repos/testing-any/
  ttf-croscore/repos/testing-any/PKGBUILD
    (from rev 467625, ttf-croscore/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: ttf-croscore/repos/testing-any/PKGBUILD (from rev 467625, 
ttf-croscore/trunk/PKGBUILD)
===================================================================
--- repos/testing-any/PKGBUILD                          (rev 0)
+++ repos/testing-any/PKGBUILD  2023-01-29 22:58:40 UTC (rev 467626)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=ttf-croscore
+pkgver=20220810
+_commit=2725c70baa8b0176c7577093ba1fc6179aa79478
+pkgrel=2
+pkgdesc='Chrome OS core fonts'
+arch=(any)
+url='https://fonts.google.com/noto'
+license=(custom:SIL)
+provides=(ttf-font)
+makedepends=(git python-fonttools)
+source=(git+https://github.com/notofonts/noto-fonts#commit=$_commit)
+sha256sums=('SKIP')
+
+prepare() {
+# Fix weight of Arimo-BoldItalic.ttf 
https://github.com/googlefonts/noto-fonts/issues/2350
+  cd noto-fonts/hinted/ttf/Arimo
+  ttx Arimo-BoldItalic.ttf
+  sed -e 's|usWeightClass value=\"400\"|usWeightClass value=\"700\"|' -i 
Arimo-BoldItalic.ttx
+  ttx -f Arimo-BoldItalic.ttx
+}
+
+package() {
+  cd noto-fonts
+  install -Dm644 hinted/ttf/{Arimo,Cousine,Tinos}/*.ttf -t 
"$pkgdir"/usr/share/fonts/croscore
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/ttf-croscore
+}

Reply via email to