void-packages/srcpkgs/uncrustify/template
2020-12-05 19:40:25 -03:00

23 lines
620 B
Bash

# Template file for 'uncrustify'
pkgname=uncrustify
version=0.72.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=d6fff70bc7823fac4c77013055333b79a4839909094e8eee8a14ee8f1777374e
do_check() {
make -C build test
}
post_install() {
for f in etc/*cfg; do
vinstall $f 0644 usr/share/${pkgname}
done
}