b6bcd8cd34
* daemontools and dmraid is kept at -Np0 ```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 ```
12 lines
473 B
Bash
12 lines
473 B
Bash
# Template file for 'dmg2img'
|
|
pkgname=dmg2img
|
|
version=1.6.7
|
|
revision=5
|
|
build_style=gnu-makefile
|
|
makedepends="zlib-devel bzip2-devel openssl-devel"
|
|
short_desc="Convert Apple's compressed dmg to standard image disks"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://vu1tur.eu.org/dmg2img"
|
|
distfiles="http://vu1tur.eu.org/tools/dmg2img-${version}.tar.gz"
|
|
checksum=02aea6d05c5b810074913b954296ddffaa43497ed720ac0a671da4791ec4d018
|