archrelease: copy trunk to community-any
[ArchLinux/community.git] / otf-ipaexfont / repos / community-any / PKGBUILD
blob5c8fde2e72b84c9ce39a21f834f4a1a750104cea
1 # Maintainer: Jiachen YANG <farseerfc@archlinux.org>
2 # Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
4 pkgname=otf-ipaexfont
5 pkgver=004.01
6 _pkgver=${pkgver//./}
7 pkgrel=3
8 pkgdesc="Japanese outline fonts following the tradition of Japanese printing font"
9 arch=('any')
10 url="https://ipafont.ipa.go.jp/"
11 license=('custom')
12 conflicts=('ttf-ipaex')
13 replaces=('ttf-ipaex')
14 groups=('ipa-fonts')
15 #source=(https://ipafont.ipa.go.jp/IPAexfont/IPAexfont${_pkgver}.zip)
16 source=(https://sources.archlinux.org/other/community/${pkgname}/IPAexfont${_pkgver}.zip)
17 sha1sums=('57583c2be5dbfa06648ab0ae4937d7903b32595c')
18 sha256sums=('bcf8374ab3f9672c421120430dd19a51c99f5265cf06fc340d9a661ddfd7974b')
20 package() {
21   cd "${srcdir}/IPAexfont${_pkgver}"
23   install -d "${pkgdir}/usr/share/fonts/OTF"
24   install -m644 *.ttf "${pkgdir}/usr/share/fonts/OTF/"
26   install -d "${pkgdir}/usr/share/licenses/${pkgname}"
27   install -m644 IPA_Font_License_Agreement_v1.0.txt Readme_IPAexfont${_pkgver}.txt \
28     "${pkgdir}/usr/share/licenses/${pkgname}/"