765e304c4b
```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
501 B
Bash
13 lines
501 B
Bash
# Template file for 'macchanger'
|
|
pkgname=macchanger
|
|
version=1.7.0
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_script="./autogen.sh"
|
|
hostmakedepends="automake texinfo"
|
|
short_desc="Small utility to change your NIC's MAC address"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/software/macchanger"
|
|
distfiles="https://github.com/alobbs/macchanger/archive/${version}.tar.gz"
|
|
checksum=1d75c07a626321e07b48a5fe2dbefbdb98c3038bb8230923ba8d32bda5726e4f
|