summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-10-26 09:31:15 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-10-26 09:31:15 +0000
commit1f740d5f0b52064496e113663672d92e281ab27f (patch)
treef3f98e8537f75f90266176821c7b64d2d4768cb0 /gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild
parentFixing bug #68798 (Manifest recommit) (diff)
downloadgentoo-2-1f740d5f0b52064496e113663672d92e281ab27f.tar.gz
gentoo-2-1f740d5f0b52064496e113663672d92e281ab27f.tar.bz2
gentoo-2-1f740d5f0b52064496e113663672d92e281ab27f.zip
removed sed from global scope (replaced with versionator) (#68915)
Diffstat (limited to 'gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild')
-rw-r--r--gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild b/gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild
index 20f82626fb0c..24494081e781 100644
--- a/gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild
+++ b/gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild
@@ -1,19 +1,16 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild,v 1.9 2004/10/08 14:19:44 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgtkhtml/libgtkhtml-3.0.10-r1.ebuild,v 1.10 2004/10/26 09:31:15 liquidx Exp $
-inherit gnome2 eutils
+inherit gnome2 eutils versionator
MY_P=${P/lib/}
MY_PN=${PN/lib/}
+MY_MAJ_PV=$(get_version_component_range 1-2)
+
DESCRIPTION="Lightweight HTML Rendering/Printing/Editing Engine"
HOMEPAGE="http://www.gnome.org/"
-
-# stolen from gnome.org eclass because it support this one-off name-mangling
-
-[ -z "${GNOME_TARBALL_SUFFIX}" ] && export GNOME_TARBALL_SUFFIX="bz2"
-PVP=($(echo " $PV " | sed 's:[-\._]: :g'))
-SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP[0]}.${PVP[1]}/${MY_P}.tar.${GNOME_TARBALL_SUFFIX}"
+SRC_URI="mirror://gnome/sources/${MY_PN}/${MY_MAJ_PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="3"
KEYWORDS="x86 ~ppc sparc hppa alpha ~ia64 ~amd64"