# Template file for 'uncrustify'
pkgname=uncrustify
version=0.75.1
revision=1
build_style=cmake
hostmakedepends="python3"
short_desc="Source Code Beautifier for multiple languages"
maintainer="Ishaan Bhimwal <ishaanbhimwal@protonmail.com>"
license="GPL-2.0-or-later"
homepage="http://uncrustify.sourceforge.net/"
distfiles="https://github.com/uncrustify/uncrustify/archive/$pkgname-$version.tar.gz"
checksum=fd14acc0a31ed88b33137bdc26d32964327488c835f885696473ef07caf2e182

post_install() {
	for f in etc/*cfg; do
		vinstall $f 0644 usr/share/${pkgname}
	done
}
