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