Package Details: mmv 2.10-1

Git Clone URL: https://aur.archlinux.org/mmv.git (read-only, click to copy)
Package Base: mmv
Description: multiple move files
Upstream URL: https://github.com/rrthomas/mmv
Licenses: GPL-2.0-or-later
Submitter: None
Maintainer: cgirard
Last Packager: cgirard
Votes: 89
Popularity: 0.160639
First Submitted: 2006-09-01 09:51 (UTC)
Last Updated: 2025-01-24 15:01 (UTC)

Latest Comments

1 2 Next › Last »

cgirard commented on 2024-10-02 15:25 (UTC)

@felixfontein thanks for letting me know about the new upstream. I have now switched to that

felixfontein commented on 2024-06-26 07:11 (UTC)

On a current Arch installation fails with some build error.

Debian's mmv is now based on https://github.com/rrthomas/mmv, which already has version 2.6. I was able to modify PKGBUILD to build mmv from there:

diff --git a/PKGBUILD b/PKGBUILD
index 5ef849e..79571dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,40 +2,23 @@
 # Contributor: blue_lizard lizard@blue.dyn-o-saur.com

 pkgname=mmv
-pkgver=1.01b.orig
-pkgrel=4
-pkgdesc="multiple move files (version with debian patches)"
+pkgver=2.6
+pkgrel=5
+pkgdesc="multiple move files"
 source=(
-  http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz
-  patches-as-of-mmv-1.01b-15.diff::'https://git.deb.at/w?p=pkg/mmv.git;a=blob_plain;f=debian/patches/patches-as-of-mmv-1.01b-15.diff;hb=528dcf4e01aa4736fa4d8bbda837bf4efb9c84c5'
-  man-page-fixes.diff::'https://git.deb.at/w?p=pkg/mmv.git;a=blob_plain;f=debian/patches/man-page-fixes.diff;hb=528dcf4e01aa4736fa4d8bbda837bf4efb9c84c5'
-  format-security.diff::'https://git.deb.at/w?p=pkg/mmv.git;a=blob_plain;f=debian/patches/format-security.diff;hb=528dcf4e01aa4736fa4d8bbda837bf4efb9c84c5'
-  better-diagnostics-for-directories-584850.diff::'https://git.deb.at/w?p=pkg/mmv.git;a=blob_plain;f=debian/patches/better-diagnostics-for-directories-584850.diff;hb=528dcf4e01aa4736fa4d8bbda837bf4efb9c84c5'
-  man-page-examples.diff::'https://git.deb.at/w?p=pkg/mmv.git;a=blob_plain;f=debian/patches/man-page-examples.diff;hb=528dcf4e01aa4736fa4d8bbda837bf4efb9c84c5'
-  man-page-warning-149873.diff::'https://git.deb.at/w?p=pkg/mmv.git;a=blob_plain;f=debian/patches/man-page-warning-149873.diff;hb=528dcf4e01aa4736fa4d8bbda837bf4efb9c84c5'
+  https://github.com/rrthomas/mmv/releases/download/v2.6/mmv-2.6.tar.gz
 )
-sha256sums=('0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef'
-            '3fcfb270ae7385a192e11beb8dc36197377f221fb391b1440bbb0471670c4168'
-            'b0cdc562d18abaa0aa2f667e26361de6d989b98759be7eddaf7312db90721172'
-            '99fb73a1e52fe40ee98e48bf75a638194ace20712d57df1557add5526478e21b'
-            '3decc3d5af65e8f879f4a65a86e4c927d5889056043473d0e12657f033e4cfac'
-            '340b0cc901a8a6d90838c1e01212c392ca21a350cf3128195cfa2101f190861a'
-            '4e6b7b85355d339bc2526d3afad4492def634e5311a514c2a324ca8d8eaaf52f')
+sha256sums=('020cb39cb177aa9e66363d73f49fe2e56aa23a3501c9cb16383f75b1ddcd4fe4')

-url="http://linux.maruhn.com/sec/mmv.html"
+url="https://github.com/rrthomas/mmv"
 license=('GPL')
 install=$pkgname.install
 arch=('i686' 'x86_64')

 prepare() {
   cd "${srcdir}/$pkgname-$pkgver"
-  patch -p1 < ../patches-as-of-mmv-1.01b-15.diff
-  patch -p1 < ../man-page-fixes.diff
-  patch -p1 < ../format-security.diff
-  patch -p1 < ../better-diagnostics-for-directories-584850.diff
-  patch -p1 < ../man-page-examples.diff
-  patch -p1 < ../man-page-warning-149873.diff

+  ./configure --prefix /usr
   sed -i -e "s/LDFLAGS.\s=-s -N/LDFLAGS    =-s/g" Makefile
   sed -i 's!/usr/man!/usr/share/man!' Makefile
 }
@@ -51,10 +34,6 @@ package(){
   mkdir -p "${pkgdir}/usr/share/man/man1"
   make DESTDIR="${pkgdir}" install
   chmod 644 "${pkgdir}/usr/share/man/man1/mmv.1"
-  cd "${pkgdir}/usr/bin"
-  ln -s mmv mcp
-  ln -s mmv mad
-  ln -s mmv mln
   cd "${pkgdir}/usr/share/man/man1/"
   ln -s mmv.1 mcp.1
   ln -s mmv.1 mad.1

joerg_sch commented on 2019-05-11 21:01 (UTC)

Thank you, I appreciate that!

cgirard commented on 2019-04-29 09:14 (UTC)

Sorry about the wait, I have just pushed a new version including all debian patches.

fragfutter commented on 2019-04-28 09:41 (UTC) (edited on 2019-04-28 09:42 (UTC) by fragfutter)

https://github.com/fragfutter/mmv

diff --git a/PKGBUILD b/PKGBUILD
index 4dfacaa..1244610 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,10 +3,10 @@

 pkgname=mmv
 pkgver=1.01b.orig
-pkgrel=3
+pkgrel=4
 pkgdesc="multiple move files"
-source=(http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b-15.diff.gz)
-md5sums=('1b2135ab2f17bdfa9e08debbb3c46ad8' '991e5c7ef7b78a05aba1b81c36c6288c')
+source=(http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b-19.debian.tar.xz)
+md5sums=('1b2135ab2f17bdfa9e08debbb3c46ad8' '5952faa99a610afdbba73d20d68c6d0f')

 url="http://linux.maruhn.com/sec/mmv.html"
 license=('GPL')
@@ -14,8 +14,12 @@ install=$pkgname.install
 arch=('i686' 'x86_64')

 prepare() {
+  tar xJvf mmv_1.01b-19.debian.tar.xz 
   cd "${srcdir}/$pkgname-$pkgver"
-  patch -p1 < ../mmv_1.01b-15.diff
+  for i in $(cat ../debian/patches/series); do
+    echo $i
+    patch -p1 < ../debian/patches/$i
+  done
   sed -i -e "s/LDFLAGS.\s=-s -N/LDFLAGS        =-s/g" Makefile
   sed -i 's!/usr/man!/usr/share/man!' Makefile
 }

joerg_sch commented on 2019-04-27 13:31 (UTC)

Hallo cgirard,

any chance to get mmv working for arch again? I recently changed to Manjaro, and would really like to use mmv there, as I did before with other distributions.

Thanks for your work, regards Jörg

bdumont commented on 2019-04-03 20:30 (UTC)

Hi,

The files in the Debian FTP changed, so that the mmv_1.01b-15.diff.gz patch isn't available anymore.

cgirard commented on 2016-05-30 09:58 (UTC)

Corrected. Sorry for the wait.

derektbrown commented on 2016-05-30 06:44 (UTC)

License does need to be made an array in the PKGBUILD.

olejorgenb commented on 2016-05-10 18:38 (UTC)

PKGBUILD broken? (simply changing the license field to an array fixes the issue) ->> aurget -S mmv :: Searching AUR... Targets (1): mmv-1.01b.orig-3 Proceed with installation? [Y/n] :: Retrieving taurball from AUR... :: Building package... Edit mmv's PKGBUILD before building? [Y/n] n ==> ERROR: license should be an array warning: package mmv failed to build, skipping