void-packages/srcpkgs/astyle/template

20 lines
637 B
Bash
Raw Normal View History

2013-12-30 16:23:39 +00:00
# Template file for 'astyle'
pkgname=astyle
2014-12-12 09:32:22 +00:00
version=2.05.1
2013-12-30 16:23:39 +00:00
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@voidlinux.eu>"
2013-12-30 16:23:39 +00:00
license="LGPL-3"
homepage="http://astyle.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz"
2014-12-12 09:32:22 +00:00
checksum=fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac
2013-12-30 16:23:39 +00:00
do_install() {
vinstall bin/astyle 755 usr/bin
vmkdir usr/share/doc/html/astyle
install -m644 ../../doc/*.html ${DESTDIR}/usr/share/doc/html/astyle
}