diff options
Diffstat (limited to 'media-fonts/droid/droid-112_p1-r1.ebuild')
-rw-r--r-- | media-fonts/droid/droid-112_p1-r1.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/media-fonts/droid/droid-112_p1-r1.ebuild b/media-fonts/droid/droid-112_p1-r1.ebuild index 66943069c2c4..d9ad2b7d35ba 100644 --- a/media-fonts/droid/droid-112_p1-r1.ebuild +++ b/media-fonts/droid/droid-112_p1-r1.ebuild @@ -1,6 +1,6 @@ # 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-112_p1-r1.ebuild,v 1.1 2010/01/07 19:54:16 spatz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-112_p1-r1.ebuild,v 1.2 2010/01/07 20:12:38 spatz Exp $ EAPI="2" @@ -13,13 +13,13 @@ MY_PN="${PN/d/D}" DESCRIPTION="Font family from Google's Android project" HOMEPAGE="http://code.google.com/android/RELEASENOTES.html" SRC_URI="mirror://gentoo/${P}.tar.gz - slashed? ( mirror://gentoo/${MY_PN}SansMonoSlashed-${PV}.ttf.bz2 ) - !slashed? ( dotted? ( mirror://gentoo/${MY_PN}SansMonoDotted-${PV}.ttf.bz2 ) )" + mirror://gentoo/${MY_PN}SansMonoSlashed-${PV}.ttf.bz2 + mirror://gentoo/${MY_PN}SansMonoDotted-${PV}.ttf.bz2" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="dotted slashed" +IUSE="" S=${WORKDIR}/${PN} FONT_S=${WORKDIR}/${PN} @@ -28,12 +28,11 @@ FONT_SUFFIX="ttf" RDEPEND="" DEPEND="" -src_prepare() { - if use slashed; then - mv "${WORKDIR}/${MY_PN}SansMonoSlashed-${PV}.ttf" \ - "${S}/${MY_PN}SansMono.ttf" - elif use dotted; then - mv "${WORKDIR}/${MY_PN}SansMonoDotted-${PV}.ttf" \ - "${S}/${MY_PN}SansMono.ttf" - fi +src_unpack() { + unpack ${A} + + mv "${WORKDIR}/${MY_PN}SansMonoSlashed-${PV}.ttf" \ + "${S}/${MY_PN}SansMonoSlashed.ttf" + mv "${WORKDIR}/${MY_PN}SansMonoDotted-${PV}.ttf" \ + "${S}/${MY_PN}SansMonoDotted.ttf" } |