summaryrefslogtreecommitdiff
path: root/community/dart
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
committerroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
commit4525bb3909f233fd13dbfb43aa6ff4e64e8340d9 (patch)
treeadd2024759bc7a18fc8d7f4101dc5d5d9b3e1e44 /community/dart
parent058983fb5cb16dbb25368dd464cbcf27205b3f93 (diff)
Tue Nov 5 00:46:51 PST 2013
Diffstat (limited to 'community/dart')
-rw-r--r--community/dart/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/dart/PKGBUILD b/community/dart/PKGBUILD
index dac2e9b42..7eb295604 100644
--- a/community/dart/PKGBUILD
+++ b/community/dart/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 100357 2013-11-02 17:06:23Z arodseth $
+# $Id: PKGBUILD 100438 2013-11-04 12:04:12Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: T. Jameson Little <t.jameson.little at gmail dot com>
# Contributor: Usagi Ito <usagi@WonderRabbitProject.net>
@@ -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 @@ prepare() {
chmod +x "$pkgname/DartEditor"
chmod +x "$pkgname/dart-sdk/bin/"*
- # Remove dartium (available in the dart-editor 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 @@ prepare() {
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() {