diff options
author | chenyhsu | 2021-04-25 15:59:22 +0800 |
---|---|---|
committer | chenyhsu | 2021-04-25 15:59:22 +0800 |
commit | d1facd329a12660da5d744e10db69bc3fc9939cc (patch) | |
tree | 080cd8eccbe64a5cebfd5b75f0e32ccb46405d97 | |
download | aur-d1facd329a12660da5d744e10db69bc3fc9939cc.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..56a6a152c926 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = otf-aoyagikouzant + pkgdesc = Brush font created by calligrapher Kouzan Aoyagi, includes JIS Non-Kanji and level-1 Kanji. + pkgver = 2.01 + pkgrel = 1 + url = https://opentype.jp/aoyagikouzanfontt.htm + arch = any + license = CUSTOM + source = https://opentype.jp/bin/AoyagiKouzanTOTF.zip + source = https://opentype.jp/aoyagikouzanfontt.htm + md5sums = c663e0899b8ce92f76e05b711f017378 + md5sums = b6f76bb1f1881ea9dcebedc4d64a2cb3 + +pkgname = otf-aoyagikouzant + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ccc1a5842044 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: ChenyHsu <bu56fo58@gmail.com> + +pkgname=otf-aoyagikouzant +pkgver=2.01 +pkgrel=1 +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=('8ac2b94336e76fa80996d0be70c557de') + +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' + 'b6f76bb1f1881ea9dcebedc4d64a2cb3') |