1 # Contributor: Nicolas Bigaouette <nbigaouette@gmail.com>
5 pkgdesc="Enable UTF-8 support in LaTeX."
6 url="http://www.unruh.de/DniQ/latex/unicode/"
8 source=("http://www.unruh.de/DniQ/latex/unicode/unicode.tgz" "http://www.latex-project.org/lppl.txt")
9 install="tex-unicode.install"
10 arch=('i686' 'x86_64')
11 license=('custom:"LaTeX Project Public License"')
12 md5sums=('1b85878cbe79f672d73da6de6e3d7d00' '11ef55b5ce8caf92b257eeb312fd3f9d')
16 mkdir -p ${startdir}/pkg/usr/share/texmf/tex/latex/unicode/data
18 cd ${startdir}/src/ucs
20 install -m 644 ucs.sty ${startdir}/pkg/usr/share/texmf/tex/latex/unicode/ucs.sty || return 1
21 install -m 644 utf8x.def ${startdir}/pkg/usr/share/texmf/tex/latex/unicode/utf8x.def || return 1
22 install -m 644 ucsencs.def ${startdir}/pkg/usr/share/texmf/tex/latex/unicode/ucsencs.def || return 1
24 cd ${startdir}/src/ucs/data
26 install -m 644 $files ${startdir}/pkg/usr/share/texmf/tex/latex/unicode/data/$files || return 1
29 mkdir -p ${startdir}/pkg/usr/share/licenses/$pkgname
30 cd ${startdir}/src/ucs
31 install -m 644 LICENSE ${startdir}/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
33 install -m 644 lppl.txt ${startdir}/pkg/usr/share/licenses/$pkgname/lppl.txt || return 1