void-packages/srcpkgs/uncrustify/template
Anthony Iliopoulos ae157d368e uncrustify: update to 0.73.0.
By ericonr: fix tests.

Closes: #32713 [via git-merge-pr]
2021-08-27 15:34:01 -03:00

20 lines
584 B
Bash

# Template file for 'uncrustify'
pkgname=uncrustify
version=0.73.0
revision=1
wrksrc="$pkgname-$pkgname-$version"
build_style=cmake
hostmakedepends="python3"
short_desc="Source Code Beautifier for multiple languages"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://uncrustify.sourceforge.net/"
distfiles="https://github.com/uncrustify/uncrustify/archive/$pkgname-$version.tar.gz"
checksum=2df0326ba8c413d675b796e051d89a318b7c9cccebc993d66466e2e7fd970672
post_install() {
for f in etc/*cfg; do
vinstall $f 0644 usr/share/${pkgname}
done
}