version ${base_version}-3
description Little collection of French LaTeX/BiBTeX styles
long_description Little collection of French LaTeX/BiBTeX styles: \
fr-plain.bst, frmath.sty, lettre.cls.
distname ${name}_${base_version}.orig
worksrcdir ${name}-${base_version}
homepage http://packages.debian.org/unstable/tex/tetex-frogg
master_sites http://ftp.debian.org/debian/pool/main/t/tetex-frogg
set dist_file ${distname}${extract.suffix}
set diff_file ${name}_${version}.diff.gz
${dist_file} md5 a0371304008212bb53589a7b9363dd35 \
${dist_file} sha1 ba28aba7177d942bf2f36d0725643e06d09e89ff \
${dist_file} rmd160 caecf99841c7ac3c7bef358eaac70285508b6a9e \
${diff_file} md5 264825932e370d73696e2b496e469aee \
${diff_file} sha1 1b41ebc9cae46f521f8812748a5878228ef09c4d \
${diff_file} rmd160 16f5761ebe47a5e50cd3182e781d56c7cdf29039
patch_sites http://ftp.debian.org/debian/pool/main/t/tetex-frogg
livecheck.url ${master_sites}/?C=M&O=D
livecheck.regex ${name}_(\[-0-9.\]+)_all\\.deb
file mkdir ${destroot}${prefix}/share/texmf-dist/bibtex/bst/frbib
file mkdir ${destroot}${prefix}/share/texmf-dist/tex/latex/misc
xinstall -m 644 ${worksrcpath}/bst/fr-plain.bst \
${destroot}${prefix}/share/texmf-dist/bibtex/bst/frbib/fr-plain.bst
xinstall -m 644 ${worksrcpath}/sty/frmath.sty \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/frmath.sty
xinstall -m 644 ${worksrcpath}/lettre/inputs/default.ins \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/default.ins
xinstall -m 644 ${worksrcpath}/lettre/inputs/lettre.cls_2.346 \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls_2.346
system "ln -s lettre.cls_2.346 \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls"
post-activate { system "mktexlsr" }