From 4525bb3909f233fd13dbfb43aa6ff4e64e8340d9 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 5 Nov 2013 00:47:11 -0800 Subject: Tue Nov 5 00:46:51 PST 2013 --- community/dart/PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'community/dart/PKGBUILD') 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 # Contributor: T. Jameson Little # Contributor: Usagi Ito @@ -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() { -- cgit v1.2.3-54-g00ecf