summaryrefslogtreecommitdiff
path: root/community/astyle/PKGBUILD
blob: 0ccad7c7ea6757ac3789c497318f2788701b1c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 34584 2010-12-09 23:29:27Z mherych $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Thomas Mader <thezema@gmail.com>
# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
# Contributor: tardo <tardo@nagi-fanboi.net>

pkgname=astyle
pkgver=2.01
pkgrel=1
pkgdesc="A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source Code"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/astyle/"
license=('LGPL')
depends=('gcc-libs')
source=(http://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz)
md5sums=('e85b31972c532373a4054842e2149b34')

build() {
	cd $srcdir/$pkgname/build/gcc
	make
}

package() {
	cd $srcdir/$pkgname/build/gcc
	install -D -m755 bin/astyle $pkgdir/usr/bin/astyle
}