Source: James Rowe Summary: Bump to v0.10 release candidate 4. Type: enhancement Status: open References: None Prereq: 1.7 Index: diction/diction-1.10_rc4.ebuild =================================================================== --- diction/diction-1.10_rc4.ebuild {cset 8e31da22-a051-4050-81db-182fa5abb2ca} +++ diction/diction-1.10_rc4.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.7 2006/09/08 11:38:25 christel 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,10 @@ 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 # b9ea5e4e8fdc1dd1fbbf270bbaf7c26e diction-1.10_rc4.ebuild # fd598a8578ab297f2b268b849d6d8f74 diction-1.10_rc4.ebuild [diff] # 7d9ef8161f67d34cf7d78c77ce0fa7c1 Description