void-packages/srcpkgs/bootchart2/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
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')"
2021-06-20 13:17:29 +07:00

23 lines
744 B
Bash

# Template file for 'bootchart2'
pkgname=bootchart2
version=0.14.9
revision=1
wrksrc="bootchart-${version}"
build_style=gnu-makefile
make_install_args="EARLY_PREFIX=/usr DOCDIR=/usr/share/doc/bootchart2"
hostmakedepends="python3"
makedepends="python3"
depends="python3-cairo"
short_desc="Startup graphing tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/xrmx/bootchart"
distfiles="https://github.com/xrmx/bootchart/archive/${version}.tar.gz"
checksum=cec7871c3dba47a1165873b0acde30a82221fde1d3a942da5e7dd09b513d2017
make_dirs="/usr/lib/bootchart/tmpfs 0755 root root"
conflicts="bootchart>=0"
patch_args=-Np0
post_patch() {
vsed -i -e 's,\$(EARLY_PREFIX)/sbin/,/usr/bin/,' Makefile
}