summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2019-11-09 16:25:00 -0500
committerAaron Bauman <bman@gentoo.org>2019-11-09 16:25:24 -0500
commit3c886265bdd490fecdb0653216a7583a54968a62 (patch)
tree63a884becc8b452b5cd721d98f9729ffd2cb77d1 /dev-tex
parentmedia-sound/xmms2: add RESTRICT="!test? ( test )" (diff)
downloadgentoo-3c886265bdd490fecdb0653216a7583a54968a62.tar.gz
gentoo-3c886265bdd490fecdb0653216a7583a54968a62.tar.bz2
gentoo-3c886265bdd490fecdb0653216a7583a54968a62.zip
dev-tex/texpower: bump EAPI and stuff
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/texpower/texpower-0.2.ebuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/dev-tex/texpower/texpower-0.2.ebuild b/dev-tex/texpower/texpower-0.2.ebuild
index c64eb6129531..3ddda0664f2c 100644
--- a/dev-tex/texpower/texpower-0.2.ebuild
+++ b/dev-tex/texpower/texpower-0.2.ebuild
@@ -1,19 +1,21 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
inherit latex-package
-IUSE="doc"
MY_P="${P/./-}"
DESCRIPTION="A bundle of style and class files for creating dynamic online presentations"
-SRC_URI="mirror://sourceforge/texpower/${MY_P}.tar.gz"
HOMEPAGE="http://texpower.sourceforge.net/"
+SRC_URI="mirror://sourceforge/texpower/${MY_P}.tar.gz"
+
+KEYWORDS="amd64 ppc sparc x86"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
+IUSE="doc"
S="${WORKDIR}/${MY_P}"
@@ -23,7 +25,7 @@ src_compile() {
cd tpslifonts
latex-package_src_compile
- cp tpslifonts.sty ../ || die
+ cp tpslifonts.sty ../ || die "Copy failed"
cd ../
if use doc
@@ -32,7 +34,7 @@ src_compile() {
do
einfo "Making documentation: ${file}"
VARTEXFONTS=${T}/fonts texi2pdf -q -c \
- --language=latex ${file} &> /dev/null
+ --language=latex ${file} &> /dev/null || die "Making documentation failed"
done
fi
}
@@ -42,9 +44,9 @@ src_install() {
latex-package_src_doinstall styles pdf
insinto /usr/share/texmf/tex/latex/${PN}/contrib
- doins contrib/config.landscapeplus contrib/tpmultiinc.tar || die
+ doins contrib/config.landscapeplus contrib/tpmultiinc.tar
- dodoc 00readme.txt 01install.txt || die
- newdoc tpslifonts/00readme.txt 00readme-tpslifonts.txt || die
+ dodoc 00readme.txt 01install.txt
+ newdoc tpslifonts/00readme.txt 00readme-tpslifonts.txt
newdoc contrib/00readme.txt 00readme-contrib.txt
}