void-packages/srcpkgs/astyle/template

22 lines
575 B
Bash

# Template file for 'astyle'
pkgname=astyle
version=3.1
revision=3
wrksrc="$pkgname"
build_wrksrc="build/gcc"
build_style=gnu-makefile
short_desc="Free, fast and small formatter for C, C++, C#, and Java source code"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://astyle.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz"
checksum=cbcc4cf996294534bb56f025d6f199ebfde81aa4c271ccbd5ee1c1a3192745d7
do_install() {
vbin bin/astyle
vlicense ../../LICENSE.md
for f in ../../doc/*.html; do
vdoc $f
done
}