From 34ac5b57cb8f3d0841bff7e86b9eb6d7f3950fbb Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sun, 12 Apr 2020 12:11:27 +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.1.4.ebuild | 56 ---------------------------- games-rpg/m5figur-mv/m5figur-mv-4.1.5.ebuild | 56 ++++++++++++++++++++++++++++ metadata/pkg_desc_index | 2 +- 4 files changed, 58 insertions(+), 58 deletions(-) delete mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.1.4.ebuild create mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.1.5.ebuild diff --git a/games-rpg/m5figur-mv/Manifest b/games-rpg/m5figur-mv/Manifest index 2a254495..00644c71 100644 --- a/games-rpg/m5figur-mv/Manifest +++ b/games-rpg/m5figur-mv/Manifest @@ -1 +1 @@ -DIST m5figur-mv-4.1.4.tar.gz 22578 SHA512 b47ecc88e6a69fe9e17352160a2fd802b3c0d9a0cc496cd375262eb328db683b2b7b6d4ae446b1c274adf8bedea9b30392adc1ea9e9ec547e14a60ea60fa2bc3 +DIST m5figur-mv-4.1.5.tar.gz 23165 SHA512 37c666d5c08373741b04bfbec4e849053a8be2568a24c6bc3c02132569f67231b2c786aa98921e3852f269ed4380b2d880ad4cd194876efac03e98fb25ae0fed diff --git a/games-rpg/m5figur-mv/m5figur-mv-4.1.4.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.1.4.ebuild deleted file mode 100644 index cb88c0b5..00000000 --- a/games-rpg/m5figur-mv/m5figur-mv-4.1.4.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2014-2019 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.2" -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.1.5.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.1.5.ebuild new file mode 100644 index 00000000..af7a599e --- /dev/null +++ b/games-rpg/m5figur-mv/m5figur-mv-4.1.5.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.2" +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/metadata/pkg_desc_index b/metadata/pkg_desc_index index e44000c6..d7cabad0 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -74,7 +74,7 @@ games-engines/freesci 0.6.4-r1: Sierra script interpreter for your old Sierra ad games-puzzle/fish-fillets 1.0.1-r1: Underwater puzzle game - find a safe way out games-rpg/aklabeth 1.0-r1: A remake of Richard C. Garriott's Ultima prequel games-rpg/dsa-stats 1.0: calculate stat probabalities for the role playing game DSA - Das schwarze Auge -games-rpg/m5figur-mv 4.1.4: LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5) +games-rpg/m5figur-mv 4.1.5: LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5) media-gfx/ipe 7.2.7: Drawing editor for creating figures in PDF or PS formats media-gfx/pqiv 2.11: powerful GTK based command-line image viewer with a minimal UI media-libs/avidemux-core 2.7.4-r1: Core libraries for simple video cutting, filtering and encoding tasks -- cgit v1.2.3-18-g5258