24 lines
587 B
Bash
24 lines
587 B
Bash
# Template file for 'uncrustify'
|
|
pkgname=uncrustify
|
|
version=0.69.0
|
|
revision=1
|
|
create_wrksrc=yes
|
|
build_style=cmake
|
|
hostmakedepends="python"
|
|
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=f64ecdbd5ce8b3e3d037186f7cce595b3e73cbd2863b7067ad7a219c34ae1fb8
|
|
|
|
do_check() {
|
|
make -C build test
|
|
}
|
|
|
|
post_install() {
|
|
for f in etc/*cfg; do
|
|
vinstall $f 0644 usr/share/${pkgname}
|
|
done
|
|
}
|