From 843e06518dba00ed8b243999013dacef50ee2c81 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Fri, 19 Oct 2018 19:49:41 +0200 Subject: games-rpg/m5figur-mv: Version bump --- games-rpg/m5figur-mv/Manifest | 2 +- games-rpg/m5figur-mv/m5figur-mv-4.0.ebuild | 56 ------------------------------ games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild | 56 ++++++++++++++++++++++++++++++ metadata/pkg_desc_index | 2 +- 4 files changed, 58 insertions(+), 58 deletions(-) delete mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.0.ebuild create mode 100644 games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild diff --git a/games-rpg/m5figur-mv/Manifest b/games-rpg/m5figur-mv/Manifest index 3bbf7b6e..43c236d0 100644 --- a/games-rpg/m5figur-mv/Manifest +++ b/games-rpg/m5figur-mv/Manifest @@ -1 +1 @@ -DIST m5figur-mv-4.0.tar.gz 21590 SHA512 5566aae3bc5d1e560621e54c96d288818902f2dbc221ddc45aa6cee79ea4b00b7a15ab006771a90229708bbbdd42e6da3f6053d132cd645ce4e02c8365fa8dbf +DIST m5figur-mv-4.1.tar.gz 22361 SHA512 ae7992ed8485333807edc6c7313a27fb062086c6c4a2bf2404b01bb4c0622ad85c35b997e37b905040aca11e0a627907dc25e386765b927bdf523919cd860197 diff --git a/games-rpg/m5figur-mv/m5figur-mv-4.0.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.0.ebuild deleted file mode 100644 index 9b65b1dc..00000000 --- a/games-rpg/m5figur-mv/m5figur-mv-4.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2014-2018 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.ebuild b/games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild new file mode 100644 index 00000000..9b65b1dc --- /dev/null +++ b/games-rpg/m5figur-mv/m5figur-mv-4.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 2014-2018 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 76c70e7b..24e61cd1 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -73,7 +73,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.0: LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5) +games-rpg/m5figur-mv 4.1: LaTeX2e character sheet layout for the Midgard Role Playing Game (Edition M5) mail-client/alpine 2.00-r7 2.21.1-r1: alpine is an easy to use text-based based mail and news client media-gfx/ipe 7.2.7: Drawing editor for creating figures in PDF or PS formats media-gfx/pqiv 2.10.4: powerful GTK based command-line image viewer with a minimal UI -- cgit v1.2.3-18-g5258