summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-11-23 21:54:05 +0100
committerThomas Deutschmann <whissi@gentoo.org>2017-11-23 22:08:21 +0100
commit040b6a966725d2c6f43d181ac0eaa36e7ff272f0 (patch)
treee2f1001880f5d104173f2dffd45a326e82f64269 /app-text/convmv
parentwww-client/chromium: beta channel bump (63.0.3239.59) (diff)
downloadgentoo-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')
-rw-r--r--app-text/convmv/Manifest1
-rw-r--r--app-text/convmv/convmv-2.04.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-text/convmv/Manifest b/app-text/convmv/Manifest
index 72ed5d1cc5ba..3df291c7b4da 100644
--- a/app-text/convmv/Manifest
+++ b/app-text/convmv/Manifest
@@ -1,2 +1,3 @@
DIST convmv-2.01.tar.gz 29375 SHA256 782ac06982aeaf8ff3ab8fc42cb49cb8bc562dbd1e97ef7e17bedcf3ecf2483a SHA512 e82957bcc1462b17c5f667e85caf0d2e8c407fb48afc6faa957f45626cbfa58c141de05f43cc810e8d4abbadc4cc01bf87ee64c157fece20fafed07ad04cc48c WHIRLPOOL fc7f6f6b93c872d1fce69372340b97165ec0138fe02952d7737bea582e6ecdef89cc766e20b7fbf2d75925ce5bf6759d2accf8f276f4feaf02383dfcb33c1bb6
DIST convmv-2.03.tar.gz 29688 SHA256 f898fd850c8ef5abe48f7536e4b23ce4e11b6133974b2fc41d9197dfecc1c027 SHA512 21f71d8009ee0f8e6b67f439809d2330e3c1a4073be8e5ad565829b89327115d25235d7f6019d96ee9f93d83e33df0869b19ad7cdd4cf8777e0ebecec437147f WHIRLPOOL 11028f4c664ab6f3672c6fd486fd24114aa5969c121d41554aaa873a72be1f254a9570aa22c1648719bbbafdde602432b9cb0a8737a1e905abefdd60033bee84
+DIST convmv-2.04.tar.gz 30082 BLAKE2B 51521e5e44c635b72c406b6b732850e7f5e50b64d30bfd8770ca1ab49e3fd10d45447114f8adbf8b79fd381dfaf6b4782246d3e10aae471a49a52a20c8ce0405 SHA512 987411047af0b1e952cd11937c70ddd972b2e3534f4fcc6c659243dedef69af4aad90ceaa3789aec6bad6cba0999c38839451f90844b171773165b6e5899f6ac
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"
+}