24 lines
588 B
Bash
24 lines
588 B
Bash
# Template file for 'uncrustify'
|
|
pkgname=uncrustify
|
|
version=0.71.0
|
|
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=1b765dfd36c985bb41e8d2da8d226ae8b769be79fb2e1e2c60a78b9bae23a8c3
|
|
|
|
do_check() {
|
|
make -C build test
|
|
}
|
|
|
|
post_install() {
|
|
for f in etc/*cfg; do
|
|
vinstall $f 0644 usr/share/${pkgname}
|
|
done
|
|
}
|