[arch-commits] Commit in noto-fonts/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Dec 21 22:19:57 UTC 2017
Date: Thursday, December 21, 2017 @ 22:19:56
Author: heftig
Revision: 313509
Remove ttf-font provides from noto-fonts-extra; Move croscore fonts to croscore dir
Modified:
noto-fonts/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-21 22:15:16 UTC (rev 313508)
+++ PKGBUILD 2017-12-21 22:19:56 UTC (rev 313509)
@@ -10,7 +10,6 @@
arch=(any)
url="https://www.google.com/get/noto/"
license=(custom:SIL)
-provides=(ttf-font)
source=("$pkgbase-$_commit.tar.gz::https://github.com/googlei18n/noto-fonts/archive/$_commit.tar.gz"
66-noto-sans.conf 66-noto-serif.conf 66-noto-mono.conf)
sha256sums=('cfb311dbaf1e0c4f3681e671986273430e3cdc5146abcf8cbf9c8e44f9e5f317'
@@ -21,6 +20,7 @@
package_noto-fonts() {
optdepends=('noto-fonts-cjk: CJK characters' 'noto-fonts-emoji: Emoji characters'
'noto-fonts-extra: additional variants (condensed, semi-bold, extra-light)')
+ provides=(ttf-font)
cd $pkgbase-*/
install -Dm644 unhinted/Noto*.tt[fc] -t "$pkgdir"/usr/share/fonts/noto
@@ -47,8 +47,9 @@
package_ttf-croscore() {
pkgdesc='Chrome OS core fonts'
+ provides=(ttf-font)
cd $pkgbase-*/
- install -Dm644 hinted/{Arimo,Cousine,Tinos}*.ttf -t "$pkgdir"/usr/share/fonts/TTF
+ install -Dm644 hinted/{Arimo,Cousine,Tinos}*.ttf -t "$pkgdir"/usr/share/fonts/croscore
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/ttf-croscore
}
More information about the arch-commits
mailing list