23 lines
567 B
Bash
23 lines
567 B
Bash
# Template file for 'uncrustify'
|
|
pkgname=uncrustify
|
|
version=0.67
|
|
revision=1
|
|
build_style=cmake
|
|
create_wrksrc=yes
|
|
hostmakedepends="python"
|
|
short_desc="Source Code Beautifier for multiple languages"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://uncrustify.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=54f15c8ebddef120522db21f38fac1dd3b0a285fbf60a8b71f9e333e96cf6ddc
|
|
|
|
do_check() {
|
|
make -C build test
|
|
}
|
|
|
|
post_install() {
|
|
for f in etc/*cfg; do
|
|
vinstall $f 0644 usr/share/${pkgname}
|
|
done
|
|
}
|