updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / hlatex-fonts / PKGBUILD
blob209c33be55694a225932fe006e9e3e47eee9c2df
1 # Contributor: Will Tipton <wtipton@hmc.edu>
2 pkgname=hlatex-fonts
3 _pkgname=HLaTeX
4 pkgver=1.0
5 pkgrel="1" 
6 pkgdesc="Provides fonts for HLaTeX."
7 install=hlatex-fonts.install
8 depends=()
9 source=(ftp://ftp.dante.de/tex-archive/fonts/korean/$_pkgname.zip)
10 url="http://project.ktug.or.kr/hlatex/"
11 md5sums=('ea453d5c51a09c0e9257d3d10d6366e3')
13 build() {
14         TEXMF=$startdir/pkg/usr/share/texmf
16         mkdir -p $TEXMF/fonts
17         cd $TEXMF/fonts
19         for i in `ls -1 $startdir/src/$_pkgname | grep -v uhc-fonts`
20         do
21                 echo "Extracting $i.."
22                 tar xzf $startdir/src/$_pkgname/$i
23         done
25         cd $startdir/src/$_pkgname/
26         mkdir -p $TEXMF/fonts/map/hlatex
27         tar xzf uhc-fonts.tar.gz
28         cp uhc-fonts-$pkgver/{uhc-base.map,uhc-extra.map} $TEXMF/fonts/map/hlatex/