summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7735b22e58d79b263f50e7a3fc592859d72099c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Jack Chen <redchenjs@live.com>

pkgname=adobe-source-han-mono-classic-fonts
pkgver=1.002
_commit=5888cdabc66f48976e7a9605aae91ed39cea27f8
pkgrel=5
pkgdesc='Adobe Source Han Mono - Classic Style Chinese Character'
arch=('any')
url="https://github.com/redchenjs/source-han-mono-classic"
license=('custom:OFL')
source=("https://github.com/redchenjs/source-han-mono-classic/archive/$_commit/source-han-mono-classic-$_commit.tar.gz")
sha512sums=('438ed2426479979cd908734b4f7c5c56870cbbcec4365c6ecc9cb86b79a14a37ebacb1df7050fdbb8726a0c268b24fc0e4d60f6d56e9cccb9bd71c77f749abe9')

package() {
    cd source-han-mono-classic-$_commit
    mkdir -p "$pkgdir/usr/share/fonts/adobe-source-han-sans/"
    install -Dm644 *.otf "$pkgdir/usr/share/fonts/adobe-source-han-sans/"
    install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}