aboutsummaryrefslogtreecommitdiffstats
path: root/testing/font-ipa/APKBUILD
blob: 31926370b3b32deefb2af5f2e9f56697d044aa8b (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
26
27
# Maintainer: Adrian Siekierka <kontakt@asie.pl>
pkgname=font-ipa
pkgver=003.03
pkgrel=0
pkgdesc="Japanese outline fonts by Information-technology Promotion Agency"
url="http://ipafont.ipa.go.jp/"
arch="noarch"
license="IPA"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends=""
filever=${pkgver/./}
source="http://dl.ipafont.ipa.go.jp/IPAfont/IPAfont$filever.zip"
builddir="$srcdir/IPAfont$filever"

package() {
	cd "$builddir"

	install -d "${pkgdir}/usr/share/fonts/TTF"
	install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF/"

	install -d "${pkgdir}/usr/share/licenses/font-ipa"
	install -m644 IPA_Font_License_Agreement_v1.0.txt "${pkgdir}/usr/share/licenses/font-ipa/"
}

md5sums="39a828acf27790adbe4944dfb4d94bb1  IPAfont00303.zip"
sha256sums="f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5  IPAfont00303.zip"
sha512sums="d3e4a1f189356b7a8b0cba9c706987413c8107f9e43ab2ccf52be6d0483efad8c97b68e075a35c5d04603c460dac7f282c4645ddc8318e993368ec47407f894e  IPAfont00303.zip"