upgpkg: mmv 1.01b.orig-4

new PKGBUILD including latest debian patches
This commit is contained in:
Cedric Girard 2019-04-29 11:11:35 +02:00
parent 38f2753c9a
commit 6bb49c09b6
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 40 additions and 12 deletions

View file

@ -1,18 +1,26 @@
# Generated by mksrcinfo v8
# Mon May 30 09:54:39 UTC 2016
pkgbase = mmv pkgbase = mmv
pkgdesc = multiple move files pkgdesc = multiple move files (version with debian patches)
pkgver = 1.01b.orig pkgver = 1.01b.orig
pkgrel = 3 pkgrel = 4
url = http://linux.maruhn.com/sec/mmv.html url = http://linux.maruhn.com/sec/mmv.html
install = mmv.install install = mmv.install
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = GPL license = GPL
source = http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz source = http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz
source = http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b-15.diff.gz source = 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
md5sums = 1b2135ab2f17bdfa9e08debbb3c46ad8 source = 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
md5sums = 991e5c7ef7b78a05aba1b81c36c6288c source = format-security.diff::https://git.deb.at/w?p=pkg/mmv.git;a=blob_plain;f=debian/patches/format-security.diff;hb=528dcf4e01aa4736fa4d8bbda837bf4efb9c84c5
source = 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
source = 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
source = 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
sha256sums = 0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef
sha256sums = 3fcfb270ae7385a192e11beb8dc36197377f221fb391b1440bbb0471670c4168
sha256sums = b0cdc562d18abaa0aa2f667e26361de6d989b98759be7eddaf7312db90721172
sha256sums = 99fb73a1e52fe40ee98e48bf75a638194ace20712d57df1557add5526478e21b
sha256sums = 3decc3d5af65e8f879f4a65a86e4c927d5889056043473d0e12657f033e4cfac
sha256sums = 340b0cc901a8a6d90838c1e01212c392ca21a350cf3128195cfa2101f190861a
sha256sums = 4e6b7b85355d339bc2526d3afad4492def634e5311a514c2a324ca8d8eaaf52f
pkgname = mmv pkgname = mmv

View file

@ -3,10 +3,24 @@
pkgname=mmv pkgname=mmv
pkgver=1.01b.orig pkgver=1.01b.orig
pkgrel=3 pkgrel=4
pkgdesc="multiple move files" pkgdesc="multiple move files (version with debian patches)"
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) source=(
md5sums=('1b2135ab2f17bdfa9e08debbb3c46ad8' '991e5c7ef7b78a05aba1b81c36c6288c') 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'
)
sha256sums=('0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef'
'3fcfb270ae7385a192e11beb8dc36197377f221fb391b1440bbb0471670c4168'
'b0cdc562d18abaa0aa2f667e26361de6d989b98759be7eddaf7312db90721172'
'99fb73a1e52fe40ee98e48bf75a638194ace20712d57df1557add5526478e21b'
'3decc3d5af65e8f879f4a65a86e4c927d5889056043473d0e12657f033e4cfac'
'340b0cc901a8a6d90838c1e01212c392ca21a350cf3128195cfa2101f190861a'
'4e6b7b85355d339bc2526d3afad4492def634e5311a514c2a324ca8d8eaaf52f')
url="http://linux.maruhn.com/sec/mmv.html" url="http://linux.maruhn.com/sec/mmv.html"
license=('GPL') license=('GPL')
@ -15,7 +29,13 @@ arch=('i686' 'x86_64')
prepare() { prepare() {
cd "${srcdir}/$pkgname-$pkgver" cd "${srcdir}/$pkgname-$pkgver"
patch -p1 < ../mmv_1.01b-15.diff 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
sed -i -e "s/LDFLAGS.\s=-s -N/LDFLAGS =-s/g" Makefile sed -i -e "s/LDFLAGS.\s=-s -N/LDFLAGS =-s/g" Makefile
sed -i 's!/usr/man!/usr/share/man!' Makefile sed -i 's!/usr/man!/usr/share/man!' Makefile
} }