Line
Link Here
|
0 |
-- /usr/portage/media-fonts/lohit-fonts/lohit-fonts-2.4.2.ebuild 2012-02-01 16:01:18.000000000 +0530 |
0 |
++ /usr/local/portage/media-fonts/lohit-fonts/lohit-fonts-20120607.ebuild 2012-09-25 08:45:56.954902796 +0530 |
Lines 4-28
Link Here
|
4 |
|
4 |
|
5 |
inherit font |
5 |
inherit font |
6 |
|
6 |
|
7 |
FONT_S="${S}" |
7 |
MY_P=${P/fonts/ttf} |
|
|
8 |
|
9 |
FONT_S="./" |
8 |
FONTDIR="/usr/share/fonts/indic" |
10 |
FONTDIR="/usr/share/fonts/indic" |
9 |
FONT_SUFFIX="ttf" |
11 |
FONT_SUFFIX="ttf" |
10 |
|
12 |
|
11 |
DESCRIPTION="The Lohit family of Indic fonts" |
13 |
DESCRIPTION="The Lohit family of Indic fonts" |
12 |
HOMEPAGE="https://fedorahosted.org/lohit" |
14 |
HOMEPAGE="https://fedorahosted.org/lohit" |
13 |
LICENSE="GPL-2" |
15 |
LICENSE="OFL-1.1" |
14 |
SRC_URI="https://fedorahosted.org/releases/l/o/lohit/${P}.tar.gz" |
16 |
SRC_URI="https://fedorahosted.org/releases/l/o/lohit/${MY_P}.tar.gz" |
15 |
|
17 |
|
16 |
SLOT="0" |
18 |
SLOT="0" |
17 |
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos" |
19 |
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos" |
18 |
IUSE="" |
20 |
IUSE="" |
19 |
|
21 |
|
20 |
DOCS="AUTHORS ChangeLog README" |
|
|
21 |
|
22 |
RESTRICT="test binchecks" |
22 |
RESTRICT="test binchecks" |
23 |
|
23 |
|
|
|
24 |
S="${WORKDIR}/${MY_P}" |
25 |
|
24 |
src_install() { |
26 |
src_install() { |
25 |
FONT_CONF=( $(find "${FONT_S}" -name *.conf -print) ) |
27 |
FONT_CONF=( $(find "${FONT_S}" -name *.conf -print) ) |
26 |
find "${S}" -name "*.ttf" -exec cp "{}" . \; |
28 |
#find "${S}" -name "*.ttf" -exec cp "{}" . \; |
27 |
font_src_install |
29 |
font_src_install |
28 |
} |
30 |
} |