void-packages/srcpkgs/uncrustify/template

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
}