summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-09-19 20:40:26 +0000
committerRyan Hill <rhill@gentoo.org>2010-09-19 20:40:26 +0000
commit9acc35183f2412343cfe47bbb89666d4fa620a21 (patch)
tree1d14625e19de8f7f7e8a95ca7a56cda76e8027da /media-fonts/khmer/khmer-5.0-r1.ebuild
parentVersion bump. (diff)
downloadhistorical-9acc35183f2412343cfe47bbb89666d4fa620a21.tar.gz
historical-9acc35183f2412343cfe47bbb89666d4fa620a21.tar.bz2
historical-9acc35183f2412343cfe47bbb89666d4fa620a21.zip
Remove trailing space from font file name (bug #338057 by Faustus).
Package-Manager: portage-2.2_rc84/cvs/Linux x86_64
Diffstat (limited to 'media-fonts/khmer/khmer-5.0-r1.ebuild')
-rw-r--r--media-fonts/khmer/khmer-5.0-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-fonts/khmer/khmer-5.0-r1.ebuild b/media-fonts/khmer/khmer-5.0-r1.ebuild
new file mode 100644
index 000000000000..30bf6eb1b8e9
--- /dev/null
+++ b/media-fonts/khmer/khmer-5.0-r1.ebuild
@@ -0,0 +1,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.1 2010/09/19 20:40:26 dirtyepic 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
+}