diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-08-24 23:52:43 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-02-26 23:32:40 -0500 |
commit | 3e9948e0f227fd58226271d5e2588a3fc5d949fb (patch) | |
tree | 19ddb29db7d9ba11e695bd5794b76b99d95b9ee8 /dev-tex/culmus-latex/culmus-latex-0.7-r1.ebuild | |
parent | dev-util/btyacc: EAPI7 revbump, improve ebuild (diff) | |
download | gentoo-3e9948e0f227fd58226271d5e2588a3fc5d949fb.tar.gz gentoo-3e9948e0f227fd58226271d5e2588a3fc5d949fb.tar.bz2 gentoo-3e9948e0f227fd58226271d5e2588a3fc5d949fb.zip |
dev-tex/culmus-latex: EAPI7 revbump, improve ebuild
Closes: https://bugs.gentoo.org/664520
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/9690
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-tex/culmus-latex/culmus-latex-0.7-r1.ebuild')
-rw-r--r-- | dev-tex/culmus-latex/culmus-latex-0.7-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-tex/culmus-latex/culmus-latex-0.7-r1.ebuild b/dev-tex/culmus-latex/culmus-latex-0.7-r1.ebuild new file mode 100644 index 000000000000..221ba957c544 --- /dev/null +++ b/dev-tex/culmus-latex/culmus-latex-0.7-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit latex-package + +DESCRIPTION="Culmus fonts support for latex" +HOMEPAGE="http://ivritex.sourceforge.net/" +SRC_URI="mirror://sourceforge/ivritex/${P}_src.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND="virtual/latex-base" +DEPEND="${RDEPEND} + || ( + >=media-fonts/culmus-0.110[fancy] + <media-fonts/culmus-0.110 + ) + app-text/t1utils" + +src_compile() { + emake CULMUSDIR=/usr/share/fonts/culmus/ + echo "Map culmus.map" > ${PN}.cfg || die +} + +src_install() { + emake CULMUSDIR=/usr/share/fonts/culmus/ \ + DESTDIR="${D}" \ + TEXMFROOT=/usr/share/texmf-site \ + pkginstall + + insinto /etc/texmf/updmap.d + doins ${PN}.cfg + + dodoc README + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + insinto /usr/share/doc/${PF}/examples/hiriq + doins examples/hiriq/* + fi +} |