Line 0
Link Here
|
|
|
1 |
# Copyright 1999-2018 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=7 |
5 |
|
6 |
inherit latex-package |
7 |
|
8 |
S=${WORKDIR}/${PN} |
9 |
|
10 |
DESCRIPTION="LaTeX style for a CV (curriculum vitae) with flavour option" |
11 |
HOMEPAGE="https://ctan.org/tex-archive/macros/latex/contrib/curve/" |
12 |
SRC_URI="http://mirrors.ctan.org/macros/latex/contrib/${PN}.zip -> ${P}.zip" |
13 |
|
14 |
LICENSE="LPPL-1.2" |
15 |
RDEPEND=">=dev-texlive/texlive-latexextra-2010" |
16 |
DEPEND="${RDEPEND}" |
17 |
BDEPEND="app-arch/unzip" |
18 |
|
19 |
IUSE="doc examples" |
20 |
|
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
23 |
|
24 |
TEXMF=/usr/share/texmf-site |
25 |
DOCS=( README NEWS THANKS ) |
26 |
|
27 |
src_install() { |
28 |
einstalldocs |
29 |
|
30 |
latex-package_src_doinstall styles |
31 |
|
32 |
if use doc ; then |
33 |
latex-package_src_doinstall pdf |
34 |
fi |
35 |
|
36 |
if use examples ; then |
37 |
insinto /usr/share/doc/${PF}/example |
38 |
doins examples/* |
39 |
fi |
40 |
} |