103ab731ab
* runit 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 ```
19 lines
639 B
Bash
19 lines
639 B
Bash
# Template file for 'radare2'
|
|
# cutter needs to be bumped when radare2 is updated
|
|
pkgname=radare2
|
|
version=5.0.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Duse_sys_capstone=true -Denable_tests=false"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="capstone-devel"
|
|
short_desc="Advanced command line debugger and hexadecimal editor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-only"
|
|
homepage="http://www.radare.org"
|
|
distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
|
|
checksum=517dd80ebd0569f31498887338eacb92e8cf054bc4625eef8ffe9ea174c1adae
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
mips*) CFLAGS="-Os";;
|
|
esac
|