1 # Contributor: Mildred <mildred593 at online dot fr>
2 # Contributor: Stefan Husmann <stefan-husmannt-online.de>
6 pkgdesc="Prepare glossaries in LaTeX."
8 url="http://www.dante.de/CTAN/help/Catalogue/entries/glosstex.html"
9 depends=('texlive-core')
10 makedepends=('make' 'unzip')
11 install=('glosstex.install')
13 source=("http://www.ctan.org/get/support/$pkgname.zip" docu.patch Makefile.patch)
14 md5sums=('d5f90382e94fee60fcc431e827d40008' '1fba401a02aa3f3ad2cebea10cd20176'\
15 '300f01b751d7f3dcae7eeb8ea1ca6459')
18 cd "$startdir/src/$pkgname"
19 patch Makefile ../Makefile.patch || return 1
20 patch $pkgname.dtx ../docu.patch || return 1
23 install -d $startdir/pkg/usr/share/texmf/tex/latex/$pkgname || return 1
24 install -Dm644 $pkgname.ist \
25 $startdir/pkg/usr/share/texmf/makeindex/$pkgname/$pkgname.ist || return 1
26 install -Dm644 $pkgname.pdf \
27 $startdir/pkg/usr/share/texmf/doc/$pkgname/$pkgname.pdf || return 1
28 install -Dm755 $pkgname $startdir/pkg/usr/bin/$pkgname || return 1
29 install -m 644 $pkgname.sty $pkgname.std \
30 $startdir/pkg/usr/share/texmf/tex/latex/$pkgname || return 1