1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="convert filenames to utf8 or any other charset"
7 HOMEPAGE="https://j3e.de/linux/convmv"
8 SRC_URI="https://j3e.de/linux/${PN}/${P}.tar.gz"
12 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
15 DEPEND="dev-lang/perl"
20 sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die
24 emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
25 dodoc CREDITS Changes TODO VERSION
29 unpack ./testsuite.tar
32 ./dotests.sh || die "Tests failed"