summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-03-27 10:12:20 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-03-27 10:12:20 +0200
commit0688412fe417da4d46771be825d33f4198b409a7 (patch)
tree6f80d3e517f0b522ec320a890cee695427491e2e /app-text/convmv/convmv-2.05.ebuild
parentsys-process/lsof: Bump to version 4.91 (diff)
downloadgentoo-0688412fe417da4d46771be825d33f4198b409a7.tar.gz
gentoo-0688412fe417da4d46771be825d33f4198b409a7.tar.bz2
gentoo-0688412fe417da4d46771be825d33f4198b409a7.zip
app-text/convmv: Bump to version 2.05
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-text/convmv/convmv-2.05.ebuild')
-rw-r--r--app-text/convmv/convmv-2.05.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/convmv/convmv-2.05.ebuild b/app-text/convmv/convmv-2.05.ebuild
new file mode 100644
index 000000000000..59f68eebfee8
--- /dev/null
+++ b/app-text/convmv/convmv-2.05.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 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 || die
+ ./dotests.sh || die "Tests failed"
+}