76acfa2dd2
```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
520 B
Bash
14 lines
520 B
Bash
# Template file for 'valabind'
|
|
pkgname=valabind
|
|
version=1.7.2
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config vala-devel git"
|
|
makedepends="vala-devel glib-devel"
|
|
depends="vala-devel>=0.26"
|
|
short_desc="Tool to transform vala source files to swig, GIR or GEAR"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://radare.org/r/"
|
|
distfiles="https://github.com/radare/valabind/archive/${version}.tar.gz"
|
|
checksum=643c1ddc85e31de975df361a20e3f39d385f5ced0e50483c6e96b33bb3d32261
|