summaryrefslogtreecommitdiff
path: root/community/astyle
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-28 00:01:38 +0000
committerroot <root@rshg054.dnsready.net>2012-03-28 00:01:38 +0000
commita26ce336126d18cde915c2331250b8dfbffc24f8 (patch)
treedd0ee1c89d9c153abfde0b4e7878a2931893ed4c /community/astyle
parentc8729cab8302ab82e01135a22fb9fa9704f1559b (diff)
Wed Mar 28 00:01:38 UTC 2012
Diffstat (limited to 'community/astyle')
-rw-r--r--community/astyle/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/community/astyle/PKGBUILD b/community/astyle/PKGBUILD
index 4b3589421..85c4597ea 100644
--- a/community/astyle/PKGBUILD
+++ b/community/astyle/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 66384 2012-02-24 12:10:04Z lfleischer $
+# $Id: PKGBUILD 68495 2012-03-26 08:43:21Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Thomas Mader <thezema@gmail.com>
@@ -6,22 +6,29 @@
# Contributor: tardo <tardo@nagi-fanboi.net>
pkgname=astyle
-pkgver=2.02
-pkgrel=2
+pkgver=2.02.1
+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')
+md5sums=('3e3ef8024c175ef4e1720b7aa4c75202')
build() {
- cd "$srcdir/$pkgname/build/gcc"
- make
+ cd "$srcdir/$pkgname/build/gcc"
+ make
}
package() {
- cd "$srcdir/$pkgname/build/gcc"
- install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
+ cd "$srcdir/$pkgname/build/gcc"
+
+ install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
+
+ # install documentation (implements FS#23290)
+ install -d "$pkgdir/usr/share/doc/$pkgname/"
+ for f in ../../doc/*.html; do
+ install -m0644 "$f" "$pkgdir/usr/share/doc/$pkgname/"
+ done
}