```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
13 lines
413 B
Diff
13 lines
413 B
Diff
--- a/Makefile.in 2015-02-05 08:25:13.491988672 +0100
|
|
+++ b/Makefile.in 2015-02-05 08:25:51.774946087 +0100
|
|
@@ -19,7 +19,9 @@ ${PROG}: ${OBJS}
|
|
${CC} ${OBJS} -o ${PROG}
|
|
|
|
install:
|
|
- install -c -s ${PROG} ${DESTDIR}${PREFIX}/bin
|
|
+ install -d ${DESTDIR}/${PREFIX}/bin
|
|
+ install -c ${PROG} ${DESTDIR}${PREFIX}/bin
|
|
+ install -d ${DESTDIR}/${MANDIR}/man1
|
|
install -c netpgpverify.1 ${DESTDIR}${MANDIR}/man1
|
|
|
|
tst:
|