7fc9190f0e
* gcc is kept at -Np0, because of void-cross ```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 ```
14 lines
459 B
Bash
14 lines
459 B
Bash
# Template file for 'gfuzz'
|
|
pkgname=gfuzz
|
|
version=0.2
|
|
revision=2
|
|
wrksrc="gfz-${version}"
|
|
build_style=go
|
|
go_import_path=github.com/braaaax/gfz
|
|
hostmakedepends="git"
|
|
short_desc="Web fuzzer like wfuzz written in Golang"
|
|
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/braaaax/gfz"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=8b6a3df0c385fe993ead673df53daa290943220f2cde73e6b1c706ef94aa4e5f
|