summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-08-24 23:52:43 +0200
committerAaron Bauman <bman@gentoo.org>2019-02-26 23:32:40 -0500
commit3e9948e0f227fd58226271d5e2588a3fc5d949fb (patch)
tree19ddb29db7d9ba11e695bd5794b76b99d95b9ee8
parentdev-util/btyacc: EAPI7 revbump, improve ebuild (diff)
downloadgentoo-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>
-rw-r--r--dev-tex/culmus-latex/Manifest1
-rw-r--r--dev-tex/culmus-latex/culmus-latex-0.7-r1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-tex/culmus-latex/Manifest b/dev-tex/culmus-latex/Manifest
index 830b903b77a..adc614638bf 100644
--- a/dev-tex/culmus-latex/Manifest
+++ b/dev-tex/culmus-latex/Manifest
@@ -1 +1,2 @@
+DIST culmus-latex-0.7.tar.gz 121188 BLAKE2B f6af996aec4d944265cd7a2595107d43af83995375b23aac89e2f528ec3a1bd39f9bf95c412e69230d9aa552e1d82fb5dc1b6e235dbe3bcc7a5763a35dc33968 SHA512 81f0351687e831f304d0a4a2be3684ebc2fcad8e696425beaaebd945c3ae048dd87a5f8614ec181ce47e0debb58a86c2c2e369f37d9ff7c7f5c1ded34206fd02
DIST culmus-latex-0.7_src.tar.gz 121188 BLAKE2B f6af996aec4d944265cd7a2595107d43af83995375b23aac89e2f528ec3a1bd39f9bf95c412e69230d9aa552e1d82fb5dc1b6e235dbe3bcc7a5763a35dc33968 SHA512 81f0351687e831f304d0a4a2be3684ebc2fcad8e696425beaaebd945c3ae048dd87a5f8614ec181ce47e0debb58a86c2c2e369f37d9ff7c7f5c1ded34206fd02
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 00000000000..221ba957c54
--- /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
+}