summaryrefslogtreecommitdiff
path: root/community/astyle/PKGBUILD
blob: 2316217516a5630afc5bf3125cb02128b67a212d (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 56885 2011-10-16 05:34:00Z bpiotrowski $
# 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.02
pkgrel=1
pkgdesc="A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source Code"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/astyle/"
license=('LGPL')
depends=('gcc-libs')
source=(http://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz)
md5sums=('6ce1f5c766ba142f152dab4ddd1ee3b7')

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

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