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

Alexander Rødseth arodseth at nymeria.archlinux.org
Mon Nov 4 12:03:56 UTC 2013


    Date: Monday, November 4, 2013 @ 13:03:55
  Author: arodseth
Revision: 100437

Fixes the "pub" script, ref FS#37632

Modified:
  dart/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-04 11:50:09 UTC (rev 100436)
+++ PKGBUILD	2013-11-04 12:03:55 UTC (rev 100437)
@@ -7,7 +7,7 @@
 
 pkgname=dart
 pkgver=0.8.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc='The dart programming language (includes SDK and editor)'
 arch=('x86_64' 'i686')
 url='http://www.dartlang.org/'
@@ -36,7 +36,7 @@
   chmod +x "$pkgname/DartEditor"
   chmod +x "$pkgname/dart-sdk/bin/"*
 
-  # Remove dartium (available in the dartium-bin package on AUR)
+  # Remove Dartium (takes 309,31 MB, available in the dartium-bin package on AUR)
   rm -r "$pkgname/chromium"
 
   # Prepare a desktop shortcut
@@ -49,6 +49,11 @@
   setconf dart2js PROG_NAME "/opt/$pkgname/dart-sdk/bin/dart2js"
   setconf dartanalyzer SCRIPT_DIR "/opt/$pkgname/dart-sdk/bin"
   setconf dartdoc BIN_DIR "/opt/$pkgname/dart-sdk/bin"
+  setconf pub BIN_DIR "/opt/$pkgname/dart-sdk/bin"
+  setconf pub SDK_DIR "/opt/$pkgname/dart-sdk"
+
+  # Fix missing "fi" and missing newline
+  echo -e "fi\n" >> pub
 }
 
 package() {




More information about the arch-commits mailing list