Source: James Rowe Summary: Bump to v0.11 release candidate 1. Type: enhancement Status: open References: http://bugs.gentoo.org/show_bug.cgi?id=170984 Prereq: 1.8 Index: diction/diction-1.11_rc1.ebuild =================================================================== --- diction/diction-1.11_rc1.ebuild {cset 43037e44-b01d-4890-a9ad-36850162fe68} +++ diction/diction-1.11_rc1.ebuild {local clone} @@ -2,11 +2,13 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/diction/diction-1.09-r1.ebuild,v 1.8 2007/07/12 04:37:47 mr_bones_ Exp $ -inherit eutils +inherit eutils versionator + +MY_PV=$(replace_version_separator 2 -) DESCRIPTION="Diction and style checkers for english and german texts" HOMEPAGE="http://www.gnu.org/software/diction/diction.html" -SRC_URI="http://www.moria.de/~michael/diction/${P}.tar.gz" +SRC_URI="http://www.moria.de/~michael/diction/${PN}-${MY_PV}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -16,10 +18,11 @@ IUSE="unicode" DEPEND="sys-devel/gettext" RDEPEND="virtual/libintl" +S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" + src_unpack() { unpack ${A}; cd ${S} - epatch ${FILESDIR}/${P}-style-fail-on-bad-lang.patch if use unicode; then iconv -f ISO-8859-1 -t UTF-8 de > de.new || die "charset conversion failed." mv de.new de # Checksums: MD5 # bdf44ff40f4545b19a55465e33c4e1b2 diction-1.11_rc1.ebuild # ad0e1a2783691b634221705f866887c0 diction-1.11_rc1.ebuild [diff]