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

Jan Steffens heftig at archlinux.org
Sun Jan 15 00:41:14 UTC 2017


    Date: Sunday, January 15, 2017 @ 00:41:13
  Author: heftig
Revision: 286379

20170112-1: Ship unhinted scripts and use TTCs

Modified:
  noto-fonts/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-14 21:37:57 UTC (rev 286378)
+++ PKGBUILD	2017-01-15 00:41:13 UTC (rev 286379)
@@ -3,33 +3,37 @@
 
 pkgbase=noto-fonts
 pkgname=(noto-fonts ttf-croscore)
-_pkgver=2016-12-21
-_commit=e5782aa
+_pkgver=2017-01-12
+_commit=721e63c04fa8fb8b4d7c1c908e68e721317d8b53  # master
 pkgver=${_pkgver//-}
 pkgrel=1
 pkgdesc="Google Noto TTF fonts"
 arch=(any)
 url="https://www.google.com/get/noto/"
-license=(Apache)
-depends=(fontconfig)
+license=(custom:SIL)
 provides=(ttf-font)
-#source=("https://github.com/googlei18n/noto-fonts/archive/v$_pkgver-license-adobe.tar.gz")
-source=("https://github.com/googlei18n/noto-fonts/archive/$_commit.zip")
-sha256sums=('9a0463b9922eaff3d64786982645e4027b6390c1e0cb870a7c9747ed364d387f')
+#source=("$pkgbase-$_pkgver.tar.gz::https://github.com/googlei18n/noto-fonts/archive/v$_pkgver-license-adobe.tar.gz")
+source=("$pkgbase-$_commit.tar.gz::https://github.com/googlei18n/noto-fonts/archive/$_commit.tar.gz")
+sha256sums=('a36a76566381d6f2b72cf4831c3d052804beb63ad94fa3ff4a6cae3412a50202')
 
 package_noto-fonts() {
   optdepends=('noto-fonts-cjk: CJK characters' 'noto-fonts-emoji: Emoji characters')
 
+  cd $pkgbase-*/
   mkdir -p "$pkgdir"/usr/share/fonts/noto
-  install -m644 $pkgbase-*/hinted/Noto*.ttf "$pkgdir"/usr/share/fonts/noto
+  install -m644 unhinted/Noto*.tt[fc] "$pkgdir"/usr/share/fonts/noto
+  install -m644 hinted/Noto*.tt[fc] "$pkgdir"/usr/share/fonts/noto
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/noto-fonts/LICENSE
+
+  # Already in NotoSans-*.ttc
+  rm "$pkgdir"/usr/share/fonts/noto/NotoSans{,UI}-*.ttf
 }
 
 package_ttf-croscore() {
   pkgdesc='Chrome OS core fonts'
 
-  cd $pkgbase-*/hinted
+  cd $pkgbase-*/
   mkdir -p "$pkgdir"/usr/share/fonts/TTF
-  install -m644 Arimo*.ttf Cousine*.ttf Tinos*.ttf "$pkgdir"/usr/share/fonts/TTF
+  install -m644 hinted/{Arimo,Cousine,Tinos}*.ttf "$pkgdir"/usr/share/fonts/TTF
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/ttf-croscore/LICENSE
 }
-
-



More information about the arch-commits mailing list