summaryrefslogtreecommitdiff
path: root/community/astyle/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/astyle/PKGBUILD')
-rw-r--r--community/astyle/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/astyle/PKGBUILD b/community/astyle/PKGBUILD
index e7a64294a..e60bc6d74 100644
--- a/community/astyle/PKGBUILD
+++ b/community/astyle/PKGBUILD
@@ -1,26 +1,27 @@
-# $Id: PKGBUILD 56885 2011-10-16 05:34:00Z bpiotrowski $
-# Maintainer: Mateusz Herych <heniekk@gmail.com>
+# $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=1.1
-pkgdesc="A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source Code"
+pkgrel=2
+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/"
+url='http://sourceforge.net/projects/astyle/'
license=('LGPL')
depends=('gcc-libs')
-source=(http://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz)
+source=("http://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz")
md5sums=('6ce1f5c766ba142f152dab4ddd1ee3b7')
build() {
- cd $srcdir/$pkgname/build/gcc
+ cd "$srcdir/$pkgname/build/gcc"
make
}
package() {
- cd $srcdir/$pkgname/build/gcc
- install -D -m755 bin/astyle $pkgdir/usr/bin/astyle
+ cd "$srcdir/$pkgname/build/gcc"
+ install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
}