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

Felix Yan fyan at archlinux.org
Fri Dec 5 02:13:55 UTC 2014


    Date: Friday, December 5, 2014 @ 03:13:54
  Author: fyan
Revision: 123462

upgpkg: dart 1.8-2

add workaround to add newline to dartfmt so it won't be truncated by setconf, fixes FS#43008

Modified:
  dart/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-04 23:32:30 UTC (rev 123461)
+++ PKGBUILD	2014-12-05 02:13:54 UTC (rev 123462)
@@ -8,7 +8,7 @@
 
 pkgname=dart
 pkgver=1.8
-pkgrel=1
+pkgrel=2
 pkgdesc='The dart programming language SDK'
 arch=('x86_64' 'i686')
 url='http://www.dartlang.org/'
@@ -31,6 +31,9 @@
   chmod +x "$pkgname-sdk/bin/"*
 
   cd "$pkgname-sdk/bin"
+  
+  # Workaround to add trailing newline, or setconf will eat the lines (FS#43008)
+  echo "" >> dartfmt
 
   # Configure paths
   setconf dart2js BIN_DIR "/opt/$pkgname-sdk/bin"



More information about the arch-commits mailing list