blob: b8485f255237a2022c31f4ab3f71b36b11625374 (
plain)
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/khmer/khmer-5.0-r1.ebuild,v 1.3 2010/10/25 12:03:16 fauli Exp $
inherit font
DESCRIPTION="Fonts for the Khmer language of Cambodia"
HOMEPAGE="http://www.khmeros.info/drupal/?q=en/download/fonts"
SRC_URI="mirror://sourceforge/khmer/All_KhmerOS_${PV}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
S="${WORKDIR}/All_KhmerOS_${PV}"
FONT_S="${S}"
FONT_SUFFIX="ttf"
src_unpack() {
unpack ${A}
cd "${S}"
[[ -f "KhmerOS .ttf" ]] && mv "KhmerOS .ttf" "KhmerOS.ttf" # 338057
}
pkg_postinst() {
font_pkg_postinst
echo
elog "To prefer using Khmer OS fonts, run:"
elog
elog " eselect fontconfig enable 65-khmer.conf"
echo
}
|