[arch-commits] Commit in astyle/trunk (PKGBUILD)

Lukas Fleischer lfleischer at nymeria.archlinux.org
Tue May 27 10:48:54 UTC 2014


    Date: Tuesday, May 27, 2014 @ 12:48:53
  Author: lfleischer
Revision: 111973

upgpkg: astyle 2.04-2

Add shared library (implements FS#40163).

Modified:
  astyle/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-27 10:47:01 UTC (rev 111972)
+++ PKGBUILD	2014-05-27 10:48:53 UTC (rev 111973)
@@ -7,7 +7,7 @@
 
 pkgname=astyle
 pkgver=2.04
-pkgrel=1
+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/'
@@ -18,7 +18,7 @@
 
 build() {
   cd "$srcdir/$pkgname/build/gcc"
-  make
+  make release shared
 }
 
 package() {
@@ -25,6 +25,7 @@
   cd "$srcdir/$pkgname/build/gcc"
 
   install -Dm0755 bin/astyle "$pkgdir/usr/bin/astyle"
+  install -Dm0755 bin/libastyle.so "$pkgdir/usr/lib/libastyle.so"
 
   # install documentation (implements FS#23290)
   install -d "$pkgdir/usr/share/doc/$pkgname/"




More information about the arch-commits mailing list