summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5705686ef76e6f7925bc573dcd9bb996191a45b (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
# Maintainer: Ma Jiehong <email at majiehong.com>
pkgname=ttf-tw
epoch=1
pkgver=20130103
pkgrel=2
pkgdesc="Set of KAI and SONG fonts from the Ministry of Education of Taiwan. These fonts follow all the official recommendations and their shapes are calligraphically correct. (TTF/UTF-8)"
arch=('any')
url="http://www.moe.gov.tw/"
license=('CC-BY-ND 3.0')
depends=()
makedepends=('git')
conflicts=()
source=(git+https://github.com/Jiehong/TW-fonts.git)
sha512sums=('SKIP')

pkgver()
{
  cd "$srcdir/TW-fonts"
  git show --no-patch --date=short --format=format:%cd | tr -d -
}

package()
{
  cd "$srcdir"
  install -Dm644 TW-fonts/edukai-3.ttf "$pkgdir/usr/share/fonts/TTF/edukai-3.ttf"
  install -Dm644 TW-fonts/eduSong_Unicode.ttf "$pkgdir/usr/share/fonts/TTF/eduSong_Unicode.ttf"
}