diff options
Diffstat (limited to 'community/astyle/PKGBUILD')
-rw-r--r-- | community/astyle/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/astyle/PKGBUILD b/community/astyle/PKGBUILD new file mode 100644 index 000000000..0a7385d93 --- /dev/null +++ b/community/astyle/PKGBUILD @@ -0,0 +1,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') +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 +} |