void-packages/srcpkgs/astyle/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

22 lines
591 B
Bash

# Template file for 'astyle'
pkgname=astyle
version=3.1
revision=3
wrksrc="$pkgname"
build_wrksrc="build/gcc"
build_style=gnu-makefile
short_desc="Free, fast and small formatter for C, C++, C#, and Java source code"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://astyle.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz"
checksum=cbcc4cf996294534bb56f025d6f199ebfde81aa4c271ccbd5ee1c1a3192745d7
patch_args=-Np0
do_install() {
vbin bin/astyle
vlicense ../../LICENSE.md
for f in ../../doc/*.html; do
vdoc $f
done
}