summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2018-06-08 22:44:38 +0200
committerMartin Väth <martin@mvath.de>2018-06-08 22:44:38 +0200
commit348eec83133e8d92c2534ee070bdfd4945f25aa4 (patch)
tree4987a46e77cdcf1ad83f29a180da7b137f124767 /games-rpg/m5figur-mv
parentEAPI=7 version bumps (diff)
downloadmv-348eec83133e8d92c2534ee070bdfd4945f25aa4.tar.gz
mv-348eec83133e8d92c2534ee070bdfd4945f25aa4.tar.bz2
mv-348eec83133e8d92c2534ee070bdfd4945f25aa4.zip
games-rpg/m5figur-mv: Version bump
Diffstat (limited to 'games-rpg/m5figur-mv')
-rw-r--r--games-rpg/m5figur-mv/Manifest2
-rw-r--r--games-rpg/m5figur-mv/m5figur-mv-3.1.ebuild (renamed from games-rpg/m5figur-mv/m5figur-mv-3.0.ebuild)9
2 files changed, 9 insertions, 2 deletions
diff --git a/games-rpg/m5figur-mv/Manifest b/games-rpg/m5figur-mv/Manifest
index 20f898e9..10781595 100644
--- a/games-rpg/m5figur-mv/Manifest
+++ b/games-rpg/m5figur-mv/Manifest
@@ -1 +1 @@
-DIST m5figur-mv-3.0.tar.gz 20333 SHA512 92744fdc5a1ac3574f8e56c9f5e21ab36effbdaee83bbd122bc813624061741adf956998217043c490d74249bca4ea168d3696260267a0bfb26c59627579ae1d
+DIST m5figur-mv-3.1.tar.gz 21182 SHA512 8b4d77e18b2ae057a17fb39ebd2fa27510be14a779ede5a0177864e95374c82bbeeec9a5105492ece841d334b679ee7e00acc1fab01dd53da1e66b9398632b62
diff --git a/games-rpg/m5figur-mv/m5figur-mv-3.0.ebuild b/games-rpg/m5figur-mv/m5figur-mv-3.1.ebuild
index 518116d8..e16231fa 100644
--- a/games-rpg/m5figur-mv/m5figur-mv-3.0.ebuild
+++ b/games-rpg/m5figur-mv/m5figur-mv-3.1.ebuild
@@ -21,10 +21,16 @@ RDEPEND="${DEPEND}
BDEPEND="examples? ( ${DEPEND} )"
src_compile() {
+ local i j
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"
+ 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
}
@@ -34,6 +40,7 @@ src_install() {
doins *.cls
insinto "${TEXMF}/doc/latex/${PN}"
doins *.tex
+ doins -r beispiele
if use examples
then doins *.pdf
fi