forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fundus-19970826.ebuild
39 lines (34 loc) · 985 Bytes
/
fundus-19970826.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit latex-package
S=${WORKDIR}/${PN}
DESCRIPTION="Providing LaTeX access to various font families"
HOMEPAGE="http://www.ctan.org/tex-archive/help/Catalogue/entries/fundus.html"
# Taken from: ftp://ftp.dante.de/tex-archive/macros/latex/contrib/gene/fundus.tar.gz
# ftp://ftp.dante.de/tex-archive/fonts/twcal.tar.gz
# ftp://ftp.dante.de/tex-archive/fonts/va.tar.gz
# ftp://ftp.dante.de/tex-archive/fonts/la.tar.gz
# ftp://ftp.dante.de/tex-archive/fonts/calligra.tar.gz
SRC_URI="mirror://gentoo/${P}.tar.gz
mirror://gentoo/${PN}-fonts.tar.gz"
IUSE=""
SLOT="0"
LICENSE="LPPL-1.3c"
KEYWORDS="x86 ~amd64 ~sparc ~ppc"
src_unpack() {
unpack ${A}
cd ${S}
for i in *.tar.gz ; do
tar xzf $i
done
}
src_install() {
latex-package_src_install
for f in va la twcal calligra ; do
pushd $f
insinto /usr/share/texmf/fonts/source/public/$f
doins *.mf
popd
done
}