# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ipaexfont
pkgver=004.01
_pkgver="${pkgver%.*}${pkgver#*.}"
pkgrel=0
pkgdesc="Standard Japanese typefaces"
url="https://ipafont.ipa.go.jp/"
arch="noarch"
options="!check"  # No test suite.
license="IPA"
depends="fontconfig"
makedepends=""
subpackages=""
source="https://distfiles.adelielinux.org/source/IPAexfont$_pkgver.zip"
builddir="$srcdir/IPAexfont$_pkgver"

package() {
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$builddir"/*.ttf
}

sha512sums="fe639ded0a25eed66df8cc1e9d5e965b501574a25fab542a749b3cb8464690448e44343ff5845aecd3224ec481c4089ee56e64880cbbc9211a260b22d4cc68cd  IPAexfont00401.zip"