summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/droid/droid-113-r1.ebuild')
-rw-r--r--media-fonts/droid/droid-113-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-fonts/droid/droid-113-r1.ebuild b/media-fonts/droid/droid-113-r1.ebuild
new file mode 100644
index 000000000000..69ce4f39c983
--- /dev/null
+++ b/media-fonts/droid/droid-113-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-113-r1.ebuild,v 1.1 2010/07/08 21:47:38 spatz Exp $
+
+EAPI="2"
+
+inherit font
+
+MY_PN="${PN/d/D}"
+
+# $PV is a build number, use fontforge to find it out. 113 was taken from:
+# http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD
+DESCRIPTION="Font family from Google's Android project"
+HOMEPAGE="http://code.google.com/android/RELEASENOTES.html http://www.cosmix.org/software/"
+SRC_URI="mirror://gentoo/${PF}.tar.bz2
+ mirror://gentoo/${MY_PN}SansMonoSlashed-112_p1.ttf.bz2
+ mirror://gentoo/${MY_PN}SansMonoDotted-112_p1.ttf.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+ unpack ${A}
+
+ mv "${WORKDIR}/${MY_PN}SansMonoSlashed-112_p1.ttf" \
+ "${S}/${MY_PN}SansMonoSlashed.ttf"
+ mv "${WORKDIR}/${MY_PN}SansMonoDotted-112_p1.ttf" \
+ "${S}/${MY_PN}SansMonoDotted.ttf"
+}