void-packages/srcpkgs/astyle/template
2014-11-18 07:56:43 +00:00

20 lines
675 B
Text

# Template file for 'astyle'
pkgname=astyle
version=2.05
revision=1
wrksrc="$pkgname"
build_wrksrc="build/gcc"
build_style=gnu-makefile
short_desc="A free, fast and small automatic formatter for C, C++, C#, and Java source code"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="http://astyle.sourceforge.net"
update_pattern='astyle_\K[\d.]+(?=_linux)'
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz"
checksum=da34eb1f8f12e6f50f1cf674944c0db70c91b203008e11be0f57aa8267823a39
do_install() {
vinstall bin/astyle 755 usr/bin
vmkdir usr/share/doc/html/astyle
install -m644 ../../doc/*.html ${DESTDIR}/usr/share/doc/html/astyle
}