summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f3504d8f80806e3522605a4df5fd28a8ac07149 (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
28
# Maintainer: kusanaginoturugi <kusanaginoturugi(at)gmail.com>
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>

pkgname=otf-takao
pkgver=15.03
pkgrel=3
_filever=00303.01
pkgdesc="Japanese outline fonts based on IPA Fonts (otf-ipafont)"
arch=('any')
url="https://launchpad.net/takao-fonts"
license=('custom')
depends=()
source=(http://launchpad.net/takao-fonts/trunk/${pkgver}/+download/TakaoFonts_${_filever}.tar.xz)
md5sums=('8cd3fe724faa5034a9369e98cf108d2d')

package() {
  cd "${srcdir}/TakaoFonts_${_filever}"

  install -d "${pkgdir}/usr/share/fonts/OTF"

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

  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 IPA_Font_License_Agreement_v1.0.txt \
          README \
          README.ja \
          "${pkgdir}/usr/share/licenses/${pkgname}/"
}