summaryrefslogtreecommitdiff
path: root/community/astyle/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-28 10:54:32 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-03-28 10:54:32 -0300
commit6aa1c22fe01ff4df6c5f75fd04d551b53f7df389 (patch)
tree3aa1745b2e6a8a2ee8f6e8a44ca6330d9bc62065 /community/astyle/PKGBUILD
parentd41442b9f2dccbf8c7a283391e2bc3fe8b29bf07 (diff)
parenta26ce336126d18cde915c2331250b8dfbffc24f8 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/vhba-module/PKGBUILD community/cdemu-daemon/PKGBUILD community/luakit/PKGBUILD gnome-unstable/glib2/PKGBUILD gnome-unstable/gthumb/PKGBUILD gnome-unstable/libgnomekbd/PKGBUILD multilib/lib32-e2fsprogs/PKGBUILD multilib/lib32-freetype2/PKGBUILD multilib/lib32-gnutls/PKGBUILD multilib/lib32-krb5/PKGBUILD multilib/lib32-libsm/PKGBUILD multilib/lib32-libxcursor/PKGBUILD multilib/lib32-libxmu/PKGBUILD multilib/lib32-libxrender/PKGBUILD multilib/lib32-libxt/PKGBUILD multilib/lib32-libxv/PKGBUILD multilib/lib32-libxvmc/PKGBUILD multilib/lib32-mpg123/PKGBUILD
Diffstat (limited to 'community/astyle/PKGBUILD')
-rw-r--r--community/astyle/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/community/astyle/PKGBUILD b/community/astyle/PKGBUILD
index e60bc6d74..fb1c573cc 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' 'mips64el')
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
}