[arch-commits] Commit in adobe-source-han-serif-fonts/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun May 30 22:22:19 UTC 2021


    Date: Sunday, May 30, 2021 @ 22:22:18
  Author: felixonmars
Revision: 950836

upgpkg: adobe-source-han-serif-fonts 1.001-5: fix license (FS#67201)

Modified:
  adobe-source-han-serif-fonts/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-30 22:14:19 UTC (rev 950835)
+++ PKGBUILD	2021-05-30 22:22:18 UTC (rev 950836)
@@ -29,10 +29,10 @@
 pkgbase=$_pkgbase-fonts
 pkgname=($_pkgbase-jp-fonts $_pkgbase-kr-fonts $_pkgbase-cn-fonts $_pkgbase-tw-fonts $_pkgbase-otc-fonts)
 pkgver=1.001
-pkgrel=4
+pkgrel=5
 pkgdesc='Adobe Source Han Serif - A set of Pan-CJK fonts designed to complement Source Serif Pro'
 arch=('any')
-license=('Apache')
+license=('custom:SIL')
 url='https://github.com/adobe-fonts/source-han-serif'
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/adobe-fonts/source-han-serif/archive/${pkgver}R.tar.gz"
         44-source-han-serif-jp.conf
@@ -138,6 +138,8 @@
     install -d "$pkgdir/usr/share/fontconfig/conf.default"
     install -Dm644 "$srcdir/$_fontconfig_filename" "$pkgdir/usr/share/fontconfig/conf.avail/$_fontconfig_filename"
     ln -s ../conf.avail/$_fontconfig_filename "$pkgdir/usr/share/fontconfig/conf.default/$_fontconfig_filename"
+
+    install -Dm644 "$srcdir"/source-han-serif-${pkgver}R/LICENSE.txt -t "$pkgdir"/usr/share/licenses/$1/
 }
 
 for _pkgname in ${pkgname[@]}; do



More information about the arch-commits mailing list