diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2017-11-23 21:54:05 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2017-11-23 22:08:21 +0100 |
commit | 040b6a966725d2c6f43d181ac0eaa36e7ff272f0 (patch) | |
tree | e2f1001880f5d104173f2dffd45a326e82f64269 /app-text/convmv/convmv-2.04.ebuild | |
parent | www-client/chromium: beta channel bump (63.0.3239.59) (diff) | |
download | gentoo-040b6a966725d2c6f43d181ac0eaa36e7ff272f0.tar.gz gentoo-040b6a966725d2c6f43d181ac0eaa36e7ff272f0.tar.bz2 gentoo-040b6a966725d2c6f43d181ac0eaa36e7ff272f0.zip |
app-text/convmv: Bump to v2.04
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'app-text/convmv/convmv-2.04.ebuild')
-rw-r--r-- | app-text/convmv/convmv-2.04.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/convmv/convmv-2.04.ebuild b/app-text/convmv/convmv-2.04.ebuild new file mode 100644 index 000000000000..16fb1ffa4d0a --- /dev/null +++ b/app-text/convmv/convmv-2.04.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="convert filenames to utf8 or any other charset" +HOMEPAGE="https://www.j3e.de/linux/convmv/" +SRC_URI="https://www.j3e.de/linux/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + dodoc CREDITS Changes TODO VERSION +} + +src_test() { + unpack ./testsuite.tar + + cd "${S}"/suite + ./dotests.sh || die "Tests failed" +} |