void-packages/srcpkgs/uncrustify/template
Nathan Owens 7169946e94 uncrustify: update to 0.70.1
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-01 12:14:07 +01:00

23 lines
588 B
Bash

# Template file for 'uncrustify'
pkgname=uncrustify
version=0.70.1
revision=1
create_wrksrc=yes
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="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f419f2748db77bc91c9f5f153b11affbdf6da5199d385b60e2a88e0cbe6da2bf
do_check() {
make -C build test
}
post_install() {
for f in etc/*cfg; do
vinstall $f 0644 usr/share/${pkgname}
done
}