updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / kotex / PKGBUILD
blobb4ced965d15e4466e82aa234be401335c891a526
1 # Contributor: jdj <djin.joo@gmail.com>
3 pkgname=kotex
4 pkgver=20100511
5 pkgrel=4
6 pkgdesc="ko.tex, a Korean language support for LaTeX"
7 url="http://project.ktug.or.kr/ko.TeX/"
8 arch=('any')
9 license=('GPLv3')
10 depends=('texlive-core' 'kotex-fonts' 'kotex-util')
11 # optdepends=('java-runtime')
12 makedepends=()
13 conflicts=()
14 replaces=()
15 backup=()
16 install='kotex.install'
17 source=(
18   "http://ftp.ktug.or.kr/KTUG/ko.TeX/kotex-macros-${pkgver}.tar.gz"
20 md5sums=(
21   'cca897b6f8f8aad5810dd88c7c0a36de'
23 noextract=(
24   "kotex-macros-${pkgver}.tar.gz"
27 package() {
28   _dest="$pkgdir/usr/share/texmf-dist"
29   mkdir -p $_dest
30   cd "${srcdir}"
31   tar zxf kotex-macros-${pkgver}.tar.gz -C "$_dest"
33   # remove files which conflict with kotex-fonts
34   cd "$pkgdir/usr/share/texmf-dist/fonts"
35   rm -f fea/kotex-dev/luatexko/luakodefault.fea
36   rm -f misc/xetex/fontmapping/kotex-dev/xetexko/jamo-pua.map
37   rm -f misc/xetex/fontmapping/kotex-dev/xetexko/jamo-pua.tec
40 # vim:set ts=2 sw=2 et: