summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 300069460db0c1ab96aeaaeb51b6d6b69747911f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Isai Alcântara <isfalcantara[at]gmail[dot]com>
pkgname=otf-mplus
_pkgname=mplus
_pkgver=063-OTF
pkgver=TESTFLIGHT_${_pkgver/-/_}
pkgrel=4
pkgdesc="Japanese outline font families designed by Coji Morishita."
arch=('any')
url="https://mplus-fonts.osdn.jp/about-en.html"
license=('custom')
conflicts=('ttf-mplus')
_mirror="jaist"
source=("https://${_mirror}.dl.osdn.jp/mplus-fonts/62344/${_pkgver}.tar.xz")
sha256sums=('b1a98b24e034ff26d7cb957d904f1d49bbffc004c732eadc822e140b99f98ce1')
package() {
  cd ${srcdir}/${_pkgver}

  install -d ${pkgdir}/usr/share/fonts/${_pkgname}
  install -m644 *.otf ${pkgdir}/usr/share/fonts/${_pkgname}/

  install -D -m644 LICENSE_E ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE_E
  install -D -m644 LICENSE_J ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE_J
}