From d69ad57187a7f639085a271a18fd21d89289fc06 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 8 Aug 2020 18:52:40 +0200 Subject: games-rpg/m5figur-mv: Version bump MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Väth --- games-rpg/m5figur-mv/Manifest | 2 +- games-rpg/m5figur-mv/m5figur-mv-4.2.1.ebuild | 56 ---------------------------- games-rpg/m5figur-mv/m5figur-mv-4.2.2.ebuild | 56 ++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 57 deletions(-) delete mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.2.1.ebuild create mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.2.2.ebuild (limited to 'games-rpg') diff --git a/games-rpg/m5figur-mv/Manifest b/games-rpg/m5figur-mv/Manifest index 87268f31..920f8f39 100644 --- a/games-rpg/m5figur-mv/Manifest +++ b/games-rpg/m5figur-mv/Manifest @@ -1 +1 @@ -DIST m5figur-mv-4.2.1.tar.gz 28268 SHA512 ffa0309bab5b0f0bc86c81cb45bda2de3642a5903b9403fa432aeedd12e078d7dee656a1bdba0b3e88cc7c56a7824dbc28d755728502c4f29536d3ec4709e7ff +DIST m5figur-mv-4.2.2.tar.gz 28319 SHA512 9d2d788ac26596d50d05b95a29b35bf950729f73b7503f1a6b065f3f5ea95bc9780f4db6d14d954f587a614238d0b86af71c517738dfd4b511b3a8b5642fad47 diff --git a/games-rpg/m5figur-mv/m5figur-mv-4.2.1.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.2.1.ebuild deleted file mode 100644 index c3f4f7a6..00000000 --- a/games-rpg/m5figur-mv/m5figur-mv-4.2.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2014-2020 Martin V\"ath -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -# 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.3c" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+examples" -# We need texlive-latexextra for toolbox.sty -DEPEND="virtual/latex-base" -RDEPEND="${DEPEND} - dev-texlive/texlive-latexextra" -BDEPEND="examples? ( ${DEPEND} )" - -src_compile() { - local i j - if use examples - then einfo "Compiling example character sheet as pdf" - export VARTEXFONTS="${T}/fonts" - for i in *.tex beispiele/*.tex; do - j=${i##*/} - pdflatex "${i}" && test -s "${j%.tex}.pdf" \ - || die "could not compile ${i}" - [ "${j}" = "${i}" ] || mv "${j%.tex}.pdf" "${i%.tex}.pdf" || die - done - fi -} - -src_install() { - TEXMF="/usr/share/texmf-site" - insinto "${TEXMF}/tex/latex/${PN}" - doins *.cls - insinto "${TEXMF}/doc/latex/${PN}" - doins *.tex - doins -r beispiele - if use examples - then doins *.pdf - fi - dodoc README.md -} - -pkg_postinst() { - texconfig rehash -} - -pkg_postrm() { - texconfig rehash -} diff --git a/games-rpg/m5figur-mv/m5figur-mv-4.2.2.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.2.2.ebuild new file mode 100644 index 00000000..c3f4f7a6 --- /dev/null +++ b/games-rpg/m5figur-mv/m5figur-mv-4.2.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 2014-2020 Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +# 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.3c" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+examples" +# We need texlive-latexextra for toolbox.sty +DEPEND="virtual/latex-base" +RDEPEND="${DEPEND} + dev-texlive/texlive-latexextra" +BDEPEND="examples? ( ${DEPEND} )" + +src_compile() { + local i j + if use examples + then einfo "Compiling example character sheet as pdf" + export VARTEXFONTS="${T}/fonts" + for i in *.tex beispiele/*.tex; do + j=${i##*/} + pdflatex "${i}" && test -s "${j%.tex}.pdf" \ + || die "could not compile ${i}" + [ "${j}" = "${i}" ] || mv "${j%.tex}.pdf" "${i%.tex}.pdf" || die + done + fi +} + +src_install() { + TEXMF="/usr/share/texmf-site" + insinto "${TEXMF}/tex/latex/${PN}" + doins *.cls + insinto "${TEXMF}/doc/latex/${PN}" + doins *.tex + doins -r beispiele + if use examples + then doins *.pdf + fi + dodoc README.md +} + +pkg_postinst() { + texconfig rehash +} + +pkg_postrm() { + texconfig rehash +} -- cgit v1.2.3-18-g5258