1 # Contributor: Olivier Mehani <shtrom-aur@ssji.net>
2 # Contributor: florianbw <florian.bw@gmail.com>
3 # $Id: PKGBUILD 308 2011-11-09 21:44:30Z shtrom $
4 # vim:set ts=2 sw=2 et:
6 pkgname=latex-template-springer
9 pkgdesc="Springer templates for LNCS proceedings (llncs), monographs (svmono), multiauthor volumes (svmult) and journals (svjour3)"
11 url="http://www.springer.com/computer/lncs?SGWID=0-164-7-72376-0"
14 depends=('texlive-latex3')
17 provides=(latex-template-lncs)
18 conflicts=(latex-template-lncs)
19 replaces=(latex-template-lncs)
22 install=texlive.install
23 source=(ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip
24 http://www.springer.com/cda/content/document/cda_downloaddocument/svmult.zip
25 http://www.springer.com/cda/content/document/cda_downloaddocument/svmono.zip
26 ftp://ftp.springer.de/pub/tex/latex/svjour3/global.zip)
29 for _SVJOUR3 in readme.txt svjour3.cls usrguid3.pdf svglov3.clo template.tex; do
30 install -m 0644 -D ${srcdir}/${_SVJOUR3} ${pkgdir}/usr/share/texmf-dist/tex/latex/svjour3/${_SVJOUR3}
33 for _SVMONO in instruct.pdf quickstart.pdf refguide.pdf styles/* templates/*; do
34 [[ ${_SVMONO} == *"/*" ]] && install -m 755 -d ${pkgdir}/usr/share/texmf-dist/tex/latex/svmono/${_SVMONO#/*}
35 install -m 0644 -D ${srcdir}/${_SVMONO} ${pkgdir}/usr/share/texmf-dist/tex/latex/svmono/${_SVMONO%\*}
38 for _SVMULT in instruct.pdf quickstart.pdf refguide.pdf styles/* templates/*; do
39 [[ ${_SVMULT} == *"/*" ]] && install -m 755 -d ${pkgdir}/usr/share/texmf-dist/tex/latex/svmult/${_SVMULT#/*}
40 install -m 0644 -D ${srcdir}/${_SVMULT} ${pkgdir}/usr/share/texmf-dist/tex/latex/svmult/${_SVMULT%\*}
44 for _LLNCS in readme.txt llncs.cls llncs.dem llncs.doc llncsdoc.pdf llncsdoc.sty llncs.ind subjidx.ind sprmindx.sty; do
45 install -m 0644 -D ${srcdir}/${_LLNCS} ${pkgdir}/usr/share/texmf-dist/tex/latex/llncs/${_LLNCS}
48 install -m 0644 -D ${srcdir}/spphys.bst ${pkgdir}/usr/share/texmf-dist/bibtex/bst/springer/spphys.bst
49 install -m 0644 -D ${srcdir}/splncs03.bst ${pkgdir}/usr/share/texmf-dist/bibtex/bst/springer/splncs03.bst
50 # XXX: BSTs have disappeared from the latest version of svmono... Go figure...
51 #mv ${pkgdir}/usr/share/texmf-dist/tex/latex/svmono/*.bst \
52 # ${pkgdir}/usr/share/texmf-dist/bibtex/bst/springer/
55 md5sums=('d534148be975055ec332f4cdcd1087d5'
56 '9d5bf25a905806ed4297138062afaf71'
57 'dd75af3f4bc865cd0e33b20d186699a8'
58 'c020d70fa6ce887d9a3b70d72c518c85')