updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ttf-migu / PKGBUILD
blobcd9fdf629a14a4a8c5b16370529b9a578f6c8b40
1 # Maintainer: gasuketsu02 <gasuketsu02@gmail.com>
2 pkgname=ttf-migu
3 pkgver=20111002
4 pkgrel=1
5 pkgdesc="Good looking Japanese TrueType font by mixing M+ and IPA."
6 arch=('any')
7 url="http://mix-mplus-ipa.sourceforge.jp/migu/"
8 license=('custom')
9 depends=('fontconfig' 'xorg-font-utils')
10 ipagver=00303
11 mplusver=TESTFLIGHT-043
12 sfdir=53389
13 install=ttf.install
14 source=("http://dl.sourceforge.jp/mix-mplus-ipa/${sfdir}/migu-1c-${pkgver}.zip"
15         "http://dl.sourceforge.jp/mix-mplus-ipa/${sfdir}/migu-1m-${pkgver}.zip"
16         "http://dl.sourceforge.jp/mix-mplus-ipa/${sfdir}/migu-1p-${pkgver}.zip"
17         "http://dl.sourceforge.jp/mix-mplus-ipa/${sfdir}/migu-2m-${pkgver}.zip")
18 build() {
19   install -d ${pkgdir}/usr/share/fonts/TTF
20   install -m644 ${srcdir}/migu-1?-${pkgver}/*.ttf ${pkgdir}/usr/share/fonts/TTF/
21   install -m644 ${srcdir}/migu-2?-${pkgver}/*.ttf ${pkgdir}/usr/share/fonts/TTF/
23   # install license files
24   cd ${srcdir}/migu-1c-${pkgver}
25   install -d ${pkgdir}/usr/share/licenses/${pkgname}/{ipag${ipagver},mplus-${mplusver}}
26   install -m644 migu-README.txt ${pkgdir}/usr/share/licenses/${pkgname}/
27   install -m644 ipag${ipagver}/* ${pkgdir}/usr/share/licenses/${pkgname}/ipag${ipagver}
28   install -m644 mplus-${mplusver}/* ${pkgdir}/usr/share/licenses/${pkgname}/mplus-${mplusver}
30 md5sums=('58092a9130aef3564ee8839b33621cca'
31          '4753b1d4441dd485122d2203c0db925f'
32          'fca540beaf381ea3d1bbc9c0ec56a2d2'
33          '3342ca4a73f7266d8859baabec8fd6bd')