From 63afac3d5cd6bf4badf0189f143039f703c14e26 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Fri, 6 Jan 2017 20:32:46 +0100 Subject: games-rpg/m5figur-mv: Version bump --- games-rpg/m5figur-mv/Manifest | 2 +- games-rpg/m5figur-mv/m5figur-mv-2.8.1.ebuild | 48 ++++++++++++++++++++++++++++ games-rpg/m5figur-mv/m5figur-mv-2.8.ebuild | 48 ---------------------------- 3 files changed, 49 insertions(+), 49 deletions(-) create mode 100644 games-rpg/m5figur-mv/m5figur-mv-2.8.1.ebuild delete mode 100644 games-rpg/m5figur-mv/m5figur-mv-2.8.ebuild (limited to 'games-rpg/m5figur-mv') diff --git a/games-rpg/m5figur-mv/Manifest b/games-rpg/m5figur-mv/Manifest index f6b66b8a..1f9974bf 100644 --- a/games-rpg/m5figur-mv/Manifest +++ b/games-rpg/m5figur-mv/Manifest @@ -1 +1 @@ -DIST m5figur-mv-2.8.tar.gz 19914 SHA256 37d03f9c7c804aefc389737d4f7a9a4a0b10544031727b53fcd5878e1699d04f +DIST m5figur-mv-2.8.1.tar.gz 19917 SHA256 d0feb36b934dde33ba5e443b9848013d498572463634dfc097cd093452a8df5d diff --git a/games-rpg/m5figur-mv/m5figur-mv-2.8.1.ebuild b/games-rpg/m5figur-mv/m5figur-mv-2.8.1.ebuild new file mode 100644 index 00000000..3529b65c --- /dev/null +++ b/games-rpg/m5figur-mv/m5figur-mv-2.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +# Do *not* inherit latex-package: It DEPENDS unconditionally on texinfo. +# Moreover, it would attempt to compile the *.tex example with texinfo to dvi. +RESTRICT="mirror" + +DESCRIPTION="LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5)" +HOMEPAGE="https://github.com/vaeth/m5figur-mv/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LPPL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+examples" +# We need texlive-latexextra for toolbox.sty +RDEPEND="virtual/latex-base + dev-texlive/texlive-latexextra" +DEPEND="examples? ( ${RDEPEND} )" + +src_compile() { + if use examples + then einfo "Compiling example character sheet as pdf" + export VARTEXFONTS="${T}/fonts" + pdflatex *.tex && test -s *.pdf || die "could not create example" + fi +} + +src_install() { + TEXMF="/usr/share/texmf-site" + insinto "${TEXMF}/tex/latex/${PN}" + doins *.cls + insinto "${TEXMF}/doc/latex/${PN}" + doins *.tex + if use examples + then doins *.pdf + fi + dodoc README +} + +pkg_postinst() { + texconfig rehash +} + +pkg_postrm() { + texconfig rehash +} diff --git a/games-rpg/m5figur-mv/m5figur-mv-2.8.ebuild b/games-rpg/m5figur-mv/m5figur-mv-2.8.ebuild deleted file mode 100644 index 3529b65c..00000000 --- a/games-rpg/m5figur-mv/m5figur-mv-2.8.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -# Do *not* inherit latex-package: It DEPENDS unconditionally on texinfo. -# Moreover, it would attempt to compile the *.tex example with texinfo to dvi. -RESTRICT="mirror" - -DESCRIPTION="LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5)" -HOMEPAGE="https://github.com/vaeth/m5figur-mv/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LPPL-1.2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+examples" -# We need texlive-latexextra for toolbox.sty -RDEPEND="virtual/latex-base - dev-texlive/texlive-latexextra" -DEPEND="examples? ( ${RDEPEND} )" - -src_compile() { - if use examples - then einfo "Compiling example character sheet as pdf" - export VARTEXFONTS="${T}/fonts" - pdflatex *.tex && test -s *.pdf || die "could not create example" - fi -} - -src_install() { - TEXMF="/usr/share/texmf-site" - insinto "${TEXMF}/tex/latex/${PN}" - doins *.cls - insinto "${TEXMF}/doc/latex/${PN}" - doins *.tex - if use examples - then doins *.pdf - fi - dodoc README -} - -pkg_postinst() { - texconfig rehash -} - -pkg_postrm() { - texconfig rehash -} -- cgit v1.2.3-65-gdbad