a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
20 lines
655 B
Bash
20 lines
655 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
|
|
patch_args=-Np0
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
mips*) CFLAGS="-Os";;
|
|
esac
|