diff options
author | C.T Liu | 2020-07-05 13:15:46 +0000 |
---|---|---|
committer | C.T Liu | 2020-07-05 13:15:46 +0000 |
commit | f777d87bd99cc4c08a203c4ade9b2557a4100d38 (patch) | |
tree | 4e3b25eaab3664c47d15c6ead05122d7700288c7 | |
parent | 7a9072dcc5b3c4013ed6c95a0bb370f0b6fe03ab (diff) | |
download | aur-f777d87bd99cc4c08a203c4ade9b2557a4100d38.tar.gz |
updpkg
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 13 insertions, 8 deletions
@@ -1,11 +1,10 @@ pkgbase = adobe-source-han-mono-fonts pkgdesc = Adobe Source Han Mono - A set of Pan-CJK fonts designed to complement Source Code Pro pkgver = 1.002 - pkgrel = 4 + pkgrel = 5 url = https://github.com/adobe-fonts/source-han-mono arch = any license = custom:OFL - depends = fontconfig source = 44-source-han-mono-otc.conf source = https://github.com/adobe-fonts/source-han-mono/releases/download/1.002/SourceHanMono.ttc source = 44-source-han-mono-jp.conf @@ -48,6 +47,7 @@ pkgbase = adobe-source-han-mono-fonts source = https://github.com/adobe-fonts/source-han-mono/raw/9a10a4fe9797b9777dd9b77cd093e8f76dd55e1d/Medium/OTC/SourceHanMonoHC-Medium.otf source = https://github.com/adobe-fonts/source-han-mono/raw/9a10a4fe9797b9777dd9b77cd093e8f76dd55e1d/Normal/OTC/SourceHanMonoHC-Normal.otf source = https://github.com/adobe-fonts/source-han-mono/raw/9a10a4fe9797b9777dd9b77cd093e8f76dd55e1d/Regular/OTC/SourceHanMonoHC-Regular.otf + source = https://github.com/adobe-fonts/source-han-mono/raw/9a10a4fe9797b9777dd9b77cd093e8f76dd55e1d/LICENSE.md sha256sums = 34eb9b5060f6eaece4995aa51e6a6be9fcf2a8cd1e2a5388f1d8d2283585abfa sha256sums = 0c192448de90848f11eb8336876883a9a36dc65b8965e489600cfcc7a67358c1 sha256sums = a262b1646e81e04b448d07610b83ed9ecb0aefef604b8a3ee0c155c5603be7b6 @@ -90,6 +90,7 @@ pkgbase = adobe-source-han-mono-fonts sha256sums = 2eec8c27fc357a120c9aff40a7d4a08af9a07586ae42007b2f261fe8d285b5c9 sha256sums = e82cad8e32048ec757cdef92f0f150d12ffd2fb310b3fb7b0b7b9d0b88897f77 sha256sums = 920351def2dfff03955a5b2f9044800049920cf19a7696d59ba263fe11780e9d + sha256sums = 0983abed9371adc8958c321bf8d8036324b4a2e8cc324682b0fe0c699e63a009 pkgname = adobe-source-han-mono-jp-fonts @@ -2,13 +2,12 @@ _pkgbase=adobe-source-han-mono pkgbase=$_pkgbase-fonts pkgname=($_pkgbase-jp-fonts $_pkgbase-kr-fonts $_pkgbase-cn-fonts $_pkgbase-tw-fonts $_pkgbase-hk-fonts $_pkgbase-otc-fonts) pkgver=1.002 -pkgrel=4 +pkgrel=5 pkgdesc='Adobe Source Han Mono - A set of Pan-CJK fonts designed to complement Source Code Pro' arch=('any') license=('custom:OFL') url='https://github.com/adobe-fonts/source-han-mono' -depends=('fontconfig') -_commit=9a10a4fe9797b9777dd9b77cd093e8f76dd55e1d +_commit=9a10a4fe9797b9777dd9b77cd093e8f76dd55e1d #tag=1.002 source=(44-source-han-mono-otc.conf $url/releases/download/1.002/SourceHanMono.ttc 44-source-han-mono-jp.conf @@ -50,7 +49,8 @@ $url/raw/$_commit/Heavy/OTC/SourceHanMonoHC-Heavy.otf $url/raw/$_commit/Light/OTC/SourceHanMonoHC-Light.otf $url/raw/$_commit/Medium/OTC/SourceHanMonoHC-Medium.otf $url/raw/$_commit/Normal/OTC/SourceHanMonoHC-Normal.otf -$url/raw/$_commit/Regular/OTC/SourceHanMonoHC-Regular.otf) +$url/raw/$_commit/Regular/OTC/SourceHanMonoHC-Regular.otf +$url/raw/$_commit/LICENSE.md) _jp=( SourceHanMono-Bold.otf @@ -144,10 +144,13 @@ function _package { install -m644 "$srcdir/$font" "$pkgdir/usr/share/fonts/adobe-source-han-sans" done - # Install fontconfig fix + # Install fontconfig files install -d "$pkgdir/etc/fonts/conf.d" install -Dm644 "$srcdir/$_fontconfig_filename" "$pkgdir/etc/fonts/conf.avail/$_fontconfig_filename" ln -s ../conf.avail/$_fontconfig_filename "$pkgdir/etc/fonts/conf.d/$_fontconfig_filename" + + # Install license file + install -Dt "$pkgdir/usr/share/licenses/$_pkgname" -m644 LICENSE.md } for _pkgname in ${pkgname[@]}; do @@ -195,4 +198,5 @@ sha256sums=('34eb9b5060f6eaece4995aa51e6a6be9fcf2a8cd1e2a5388f1d8d2283585abfa' '209f75513446c0edd253b4e1c22205c46ce1a1a0c46eaf32ffeb5a18d0e1ffc2' '2eec8c27fc357a120c9aff40a7d4a08af9a07586ae42007b2f261fe8d285b5c9' 'e82cad8e32048ec757cdef92f0f150d12ffd2fb310b3fb7b0b7b9d0b88897f77' - '920351def2dfff03955a5b2f9044800049920cf19a7696d59ba263fe11780e9d') + '920351def2dfff03955a5b2f9044800049920cf19a7696d59ba263fe11780e9d' + '0983abed9371adc8958c321bf8d8036324b4a2e8cc324682b0fe0c699e63a009') |