summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Thomas Witt <pyromaniac@exherbo.org> 2015-06-03 15:37:46 +0200
committerAvatar Thomas Witt <pyromaniac@exherbo.org> 2015-06-03 20:58:31 +0200
commitd1c7eff619801c9583570c2d23b3a4ff95716c52 (patch)
tree361668d764564df37ce46429ee679d70d1ba3802
parentf451a460a4891f224fc375b59aa56bfbd5a69651 (diff)
downloadtexlive-d1c7eff619801c9583570c2d23b3a4ff95716c52.tar.gz
texlive-d1c7eff619801c9583570c2d23b3a4ff95716c52.tar.xz
glossaries: Bump to 4.15
-rw-r--r--packages/dev-tex/glossaries/glossaries-4.15.exheres-083
1 files changed, 83 insertions, 0 deletions
diff --git a/packages/dev-tex/glossaries/glossaries-4.15.exheres-0 b/packages/dev-tex/glossaries/glossaries-4.15.exheres-0
new file mode 100644
index 0000000..8915e04
--- /dev/null
+++ b/packages/dev-tex/glossaries/glossaries-4.15.exheres-0
@@ -0,0 +1,83 @@
+# Copyright 2013-2015 Thomas Witt
+# Distributed under the terms of the GNU General Public License v2
+
+require checksums [ sha1=[ ${PN}.zip=0811a928b9249ec0d51b5458758dfe7c38ed3d45 ] ]
+require texlive-common
+
+SUMMARY="Create glossaries and lists of acronyms"
+HOMEPAGE="http://www.ctan.org/pkg/${PN}"
+DOWNLOADS="mirror://ctan/macros/latex/contrib/${PN}.zip"
+
+LICENCES="LPPL-1.3"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS="doc examples"
+
+DEPENDENCIES="
+ build:
+ app-arch/unzip
+ examples? (
+ app-text/dvipsk
+ dev-tex/xcolor
+ )
+ build+run:
+ app-text/texlive-core
+ dev-texlive/texlive-latex
+ test:
+ dev-texlive/texlive-fontsextra
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-latexrecommended
+"
+
+BUGS_TO="pyromaniac@exherbo.org"
+
+WORK="${WORKBASE}/${PN}"
+TEXMF="/usr/share/texmf-site"
+
+src_compile() {
+ edo latex --halt-on-error --interaction=batchmode "${PN}.ins"
+
+ if optionq examples; then
+ edo pdflatex --halt-on-error --interaction=batchmode -jobname glossaries-code glossaries.dtx
+ edo makeindex -s gind.ist glossaries-code.idx
+ edo makeindex -s gglo.ist -o glossaries-code.gls glossaries-code.glo
+ edo "${WORK}/makeglossaries" glossaries-code
+ edo pdflatex --halt-on-error --interaction=batchmode -jobname glossaries-code glossaries.dtx
+ edo pdflatex --halt-on-error --interaction=batchmode -jobname glossaries-code glossaries.dtx
+ fi
+}
+
+src_test() {
+ edo latex --halt-on-error --interaction=batchmode minimalgls
+ edo "${WORK}/makeglossaries" minimalgls
+ edo latex --halt-on-error --interaction=batchmode minimalgls
+}
+
+
+src_install() {
+ insinto ${TEXMF}/tex/latex/glossaries/base
+ doins glossaries.sty glossaries-babel.sty glossaries-polyglossia.sty \
+ glossaries-compatible-{207,307}.sty mfirstuc.sty mfirstuc-english.sty
+
+ insinto ${TEXMF}/tex/latex/glossaries/expl
+ doins glossaries-accsupp.sty
+
+ insinto ${TEXMF}/tex/latex/glossaries/styles
+ doins glossary-*.sty
+
+ dobin makeglossaries
+
+ option examples && dodoc -r samples
+ option doc && dodoc *.pdf
+
+ emagicdocs
+}
+
+pkg_postinst() {
+ etexmf-update
+}
+
+pkg_postrm() {
+ etexmf-update
+}
+