/[gentoo-x86]/media-fonts/droid/droid-113-r4.ebuild
Gentoo

Contents of /media-fonts/droid/droid-113-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 7 03:47:57 2015 UTC (4 years, 10 months ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Mark latest revision stable

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-113-r4.ebuild,v 1.1 2015/03/07 03:47:04 yngwin Exp $
4
5 EAPI=4
6
7 inherit font
8
9 MY_PN="${PN/d/D}"
10
11 # $PV is a build number, use fontforge to find it out. 113 was taken from:
12 # http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD
13 DESCRIPTION="Font family from Google's Android project"
14 HOMEPAGE="http://code.google.com/android/RELEASENOTES.html http://www.cosmix.org/software/"
15 SRC_URI="mirror://gentoo/${P}-r1.tar.bz2
16 mirror://gentoo/${MY_PN}SansMonoSlashed-112_p1.ttf.bz2
17 mirror://gentoo/${MY_PN}SansMonoDotted-112_p1.ttf.bz2"
18
19 LICENSE="Apache-2.0"
20 SLOT="0"
21 KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86"
22 IUSE=""
23
24 S="${WORKDIR}/${PN}"
25 FONT_S="${S}"
26 FONT_SUFFIX="ttf"
27 FONT_CONF=(
28 "${FILESDIR}/59-google-droid-sans-mono.conf"
29 "${FILESDIR}/59-google-droid-sans.conf"
30 "${FILESDIR}/59-google-droid-serif.conf"
31 )
32
33 src_prepare() {
34 mv "${WORKDIR}/${MY_PN}SansMonoSlashed-112_p1.ttf" \
35 "${S}/${MY_PN}SansMonoSlashed.ttf"
36 mv "${WORKDIR}/${MY_PN}SansMonoDotted-112_p1.ttf" \
37 "${S}/${MY_PN}SansMonoDotted.ttf"
38 rm Ahem.ttf # bug 530158
39 }

  ViewVC Help
Powered by ViewVC 1.1.20