summaryrefslogtreecommitdiff
path: root/community/astyle/PKGBUILD
blob: 4b35894212938037f9096f8213ae5fe9b3c2ecc3 (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
27
# $Id: PKGBUILD 66384 2012-02-24 12:10:04Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: 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=2
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 -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
}