summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf6756d96b412a13e6fca1d3bd610fc49b0a6992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: ChenyHsu <bu56fo58@gmail.com>

pkgname=otf-aoyagikouzant
pkgver=2.01
pkgrel=3
pkgdesc="Brush font created by calligrapher Kouzan Aoyagi, includes JIS Non-Kanji and level-1 Kanji."
arch=('any')
url="https://opentype.jp/aoyagikouzanfontt.htm"
license=('CUSTOM')
source=("https://opentype.jp/bin/AoyagiKouzanTOTF.zip"
        "https://opentype.jp/aoyagikouzanfontt.htm"
)
md5sums=('c663e0899b8ce92f76e05b711f017378'
         '8567d06e7a44e95487f948b91b7331a5')

build() {
    iconv -f SHIFT-JIS -t UTF8 aoyagikouzanfontt.htm | sed -n 's|[^<]*<p>\([^<]*\)</p>[^<]*|\1\n|gp' > LICENSE     
}

package() {
    install -Dm644 -t "$pkgdir/usr/share/fonts/OTF" "AoyagiKouzanTOTF.otf"
    install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "LICENSE"
}
md5sums=('c663e0899b8ce92f76e05b711f017378'
         '6f327e6722e0a6389e8c487dbd207866')