1 # Contributor: Martin Pieuchot <mpieuchot () nolizard ! org>
6 pkgdesc="A source pretty printer for LaTeX"
8 url="http://www.ctan.org/tex-archive/help/Catalogue/entries/lgrind.html"
10 depends=('glibc' 'texlive-core')
11 source=("http://www.ctan.org/get/support/lgrind.zip")
12 md5sums=('467e7d1b4b697df55f851fc3bc31e978')
15 cd $startdir/src/$pkgname
17 sed -e "s|texmf|texmf-dist|g" -i Makefile
19 sed -e "s|-s|-Ds|" -i source/Makefile
20 sed -e "s|-m|-Dm|" -i source/Makefile
23 make BASEDIR=$startdir/pkg/usr install || return 1
25 rm -r $startdir/pkg/usr/doc