summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2004-04-20 10:11:56 +0000
committerMichael Cummings <mcummings@gentoo.org>2004-04-20 10:11:56 +0000
commit544a7c4dc81ec3687df68649175933129066c1eb (patch)
tree9f41beeffd56ca85b777a2b03d08b808a61b8aec /dev-perl/AxKit/AxKit-1.6.1.ebuild
parentMarked stable on amd64 (diff)
downloadhistorical-544a7c4dc81ec3687df68649175933129066c1eb.tar.gz
historical-544a7c4dc81ec3687df68649175933129066c1eb.tar.bz2
historical-544a7c4dc81ec3687df68649175933129066c1eb.zip
bug 48374; thanks Mr.Bones!!!
Diffstat (limited to 'dev-perl/AxKit/AxKit-1.6.1.ebuild')
-rw-r--r--dev-perl/AxKit/AxKit-1.6.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-perl/AxKit/AxKit-1.6.1.ebuild b/dev-perl/AxKit/AxKit-1.6.1.ebuild
index a576fc1e54a5..ccffdceec159 100644
--- a/dev-perl/AxKit/AxKit-1.6.1.ebuild
+++ b/dev-perl/AxKit/AxKit-1.6.1.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/AxKit/AxKit-1.6.1.ebuild,v 1.10 2004/04/16 11:17:37 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/AxKit/AxKit-1.6.1.ebuild,v 1.11 2004/04/20 10:11:56 mcummings Exp $
inherit perl-module
-MY_PV=$(echo $PV | perl -pe 's/\.([^.]+)$/\1/')
+front=${PV%\.*}
+back=${PV##*\.}
+MY_PV=${PV:0:${#front}}${back}
S=${WORKDIR}/${PN}-${MY_PV}
DESCRIPTION="The Apache AxKit Perl Module"
SRC_URI="http://axkit.org/download/${P}.tar.gz"