200bed5c06
```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
484 B
Bash
12 lines
484 B
Bash
# Template file for 'html-xml-utils'
|
|
pkgname=html-xml-utils
|
|
version=7.9
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="libidn-devel"
|
|
short_desc="Number of simple utilities for manipulating HTML and XML files"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="W3C"
|
|
homepage="https://www.w3.org/Tools/HTML-XML-utils/README"
|
|
distfiles="https://www.w3.org/Tools/HTML-XML-utils/${pkgname}-${version}.tar.gz"
|
|
checksum=d86ac96ea660316bef814c17b2a96d54cdf91c69e59614459865c2bfdaee433f
|