Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-tex/culmus-latex: EAPI7 revbump, improve ebuild
Closes: https://bugs.gentoo.org/664520 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |