[arch-commits] Commit in ttf-carlito/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue May 19 07:57:45 UTC 2020


    Date: Tuesday, May 19, 2020 @ 07:57:44
  Author: felixonmars
Revision: 386087

archrelease: copy trunk to staging-any

Added:
  ttf-carlito/repos/staging-any/
  ttf-carlito/repos/staging-any/62-google-crosextra-carlito.conf
    (from rev 386086, ttf-carlito/trunk/62-google-crosextra-carlito.conf)
  ttf-carlito/repos/staging-any/PKGBUILD
    (from rev 386086, ttf-carlito/trunk/PKGBUILD)

----------------------------------+
 62-google-crosextra-carlito.conf |   16 ++++++++++++++++
 PKGBUILD                         |   29 +++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

Copied: ttf-carlito/repos/staging-any/62-google-crosextra-carlito.conf (from rev 386086, ttf-carlito/trunk/62-google-crosextra-carlito.conf)
===================================================================
--- staging-any/62-google-crosextra-carlito.conf	                        (rev 0)
+++ staging-any/62-google-crosextra-carlito.conf	2020-05-19 07:57:44 UTC (rev 386087)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+        <alias>
+          <family>sans-serif</family>
+            <prefer>
+              <family>Carlito</family>
+            </prefer>
+        </alias>
+        <alias>
+          <family>Carlito</family>
+            <default>
+              <family>sans-serif</family>
+            </default>
+        </alias>
+</fontconfig>

Copied: ttf-carlito/repos/staging-any/PKGBUILD (from rev 386086, ttf-carlito/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 07:57:44 UTC (rev 386087)
@@ -0,0 +1,29 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Kewl <xrjy at nygb.rh.bet(rot13)>
+# Contributor: Justin Settle <jus10 at partlycloudy dot org>
+
+pkgname=ttf-carlito
+pkgver=20130920
+pkgrel=5
+pkgdesc="Google's Carlito font"
+arch=(any)
+license=(custom:OFL)
+url='https://code.google.com/p/chromium/issues/detail?id=280557'
+provides=(google-crosextra-carlito-fonts)
+source=("https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-$pkgver.tar.gz"
+        62-google-crosextra-carlito.conf)
+sha256sums=('4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a'
+            '31a74cd8044c8c8644f1555c06f406559f2e14334dd671a608145431a4299bd3')
+
+package() {
+  cd crosextrafonts-carlito-$pkgver
+
+  install -Dt "$pkgdir/usr/share/fonts/${pkgname#ttf-}" -m644 *.ttf
+
+  install -Dt "$pkgdir/etc/fonts/conf.avail" -m644 ../*.conf
+
+  mkdir "$pkgdir/etc/fonts/conf.d"
+  ln -srt "$pkgdir/etc/fonts/conf.d" "$pkgdir"/etc/fonts/conf.avail/*
+
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}


More information about the arch-commits mailing list