summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41064cfb0a1475c76b08d9ebb2bca34076860f38 (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
29
# Maintainer: ponsfoot <cabezon dot hashimoto at gmail dot com>

pkgname=otf-takaomj
pkgver=15.03
pkgrel=1
_filever=00301.01
pkgdesc="Japanese outline fonts based on IPAmj Fonts (otf-ipamjfont)"
arch=('any')
url="https://launchpad.net/takao-fonts"
license=('custom')
depends=('fontconfig' 'xorg-font-utils')
install=otf.install
source=(http://launchpad.net/takao-fonts/trunk/${pkgver}/+download/TakaoMjFonts_${_filever}.tar.xz)

package() {
  cd "${srcdir}/TakaoMjFonts_${_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}/"
}

md5sums=('e86ec5915e82a67f5ae19e110a203506')