summaryrefslogtreecommitdiff
path: root/dev-tex/texpower
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/texpower')
-rw-r--r--dev-tex/texpower/Manifest2
-rw-r--r--dev-tex/texpower/texpower-0.2.ebuild22
2 files changed, 13 insertions, 11 deletions
diff --git a/dev-tex/texpower/Manifest b/dev-tex/texpower/Manifest
index 6caad374ab06..0e4477821208 100644
--- a/dev-tex/texpower/Manifest
+++ b/dev-tex/texpower/Manifest
@@ -1,3 +1,3 @@
DIST texpower-0-2.tar.gz 176307 BLAKE2B df04fcd59560dacf415ffac5ec0dd3ebc7517f038137baa7e54b016d105fa506329e383a1645ce15df1d6c5d896f8455cea8732c7d79dc4fd9881a69b326e2c8 SHA512 4ab22dc2f1ebfe1d5aa59a1ea6f374af13a7d86c042b58a1eb49c09b7043e776975be5d8026082fa75f9da5a487c87252d12de6fae9cd9ab482b8f8b7d344a19
-EBUILD texpower-0.2.ebuild 1117 BLAKE2B 8dd4a8706a9e598bf2dc2bab54bdeb0ec35149449c17f1a9f6c22cd5744762d524b88e8dec2359e4194a836e7fda0ee2a4b207d7dde184b80eadbf6d685cd243 SHA512 363b2de856e15cae1c010496700c54b6ef2e6a01410d3472fec3abff3cfa0570cfcdd38f9f5642890154d9fb8a8dcde580485bb235decf65eef6cfca880e9bf7
+EBUILD texpower-0.2.ebuild 1146 BLAKE2B 34786f8ddfc2fd6fb256c8f8cbf8eaa66cc59d5d720a12e29b19ffcb63631d5cedf54d25023b429a8bbc7982653f8ba6c7bdebe7dc1f463305f1c4965306c120 SHA512 e737b1e4decf076b9d554e7785cfa8034e82112c4e98905ed84f75cf80c8c67ccb297f9cb25a26b5a336d8152bdb29e9f12694f60eb6cc0762c37df65b995c59
MISC metadata.xml 327 BLAKE2B a16dc0f605e0d976907f932ed7e079ce9b301ef1c9eda91947f81dd3297957ebe92fa12c61ef425a3ba643a5796cb8b3a4fd9ed80fca7aa25d8f087e55e174ec SHA512 62d565e9733b609fb88e65deead8d624ff889411eefc8c15f2784e7dc21d035df727d42b139a69ef297fcb13e828524a4119873fde8b4e0c4df231dd450bd9e5
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
}