summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e48e611a71fef2806cd765707acf5e5cf0bc6a9 (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
30
31
32
33
34
35
36
# Maintainer : boronology <boronology at gmail dot com>
pkgname=ttf-rounded-mplus
pkgver=20150110
pkgrel=3
depends=('fontconfig' 'xorg-font-utils')
pkgdesc="Japanese rounded gothic fonts based on M+ FONTS"
arch=('any')
license=('custom')
url="http://jikasei.me/font/rounded-mplus/"
source=("http://sourceforge.jp/frs/chamber_redir.php?m=jaist&f=%2Fusers%2F7%2F7708%2Frounded-mplus-20150110.7z"
	"http://sourceforge.jp/frs/chamber_redir.php?m=jaist&f=%2Fusers%2F7%2F7709%2Frounded-x-mplus-20150110.7z"
	"http://sourceforge.jp/frs/chamber_redir.php?m=osdn&f=%2Fusers%2F7%2F7707%2Frounded-l-mplus-20150110.7z"
	)

install=$pkgname.install

package() {
	cd "$srcdir"

	# install fonts
	for TTF in `ls | grep ttf`
	    do
	    install -Dm644 $TTF "$pkgdir/usr/share/fonts/TTF/$TTF"
	    done

	# install License
	for LICENSE in `ls mplus-TESTFLIGHT-059 | grep LICENSE`
	    do
	    install -Dm644 mplus-TESTFLIGHT-059/$LICENSE \
	    	    "$pkgdir/usr/share/licenses/$pkgname/$LICENSE"
	    done
}

md5sums=('4fa76a841c83bc296ea19a6f6f56b553'
         '4c0e6167d5d35bb685b86acb2653deb7'
         '716d686eee8b402805db51c461da2c84')