Prereq: 1.1 Index: diction/diction-1.11.ebuild =================================================================== --- diction/diction-1.11.ebuild {cset 1595c000-7b30-4599-8792-1f10f7dc092a} +++ diction/diction-1.11.ebuild {local clone} @@ -10,7 +10,7 @@ DESCRIPTION="Diction and style checkers HOMEPAGE="http://www.gnu.org/software/diction/diction.html" SRC_URI="http://www.moria.de/~michael/diction/${PN}-${MY_PV}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~mips ~ppc ~ppc-macos ~sparc ~x86" IUSE="unicode" @@ -21,10 +21,14 @@ RDEPEND="virtual/libintl" S="${WORKDIR}"/${PN}-$(get_version_component_range 1-2) src_unpack() { + local lang unpack "${A}"; cd "${S}" if use unicode; then - iconv -f ISO-8859-1 -t UTF-8 de > de.new || die "charset conversion failed." - mv de.new de + for lang in de nl; do + iconv -f ISO-8859-1 -t UTF-8 ${lang} >${lang}.new \ + || die "charset conversion failed for ${lang}." + mv ${lang}.new ${lang} + done fi } # Checksums: MD5 # 0c7525b6aee04d173ae16e4efea26b4c diction-1.11.ebuild # 8522afb1ba490f42cb7d8441360d9921 diction-1.11.ebuild [diff]