diff options
Diffstat (limited to 'community/dart/PKGBUILD')
-rw-r--r-- | community/dart/PKGBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/community/dart/PKGBUILD b/community/dart/PKGBUILD index bf777ffd0..d16fba800 100644 --- a/community/dart/PKGBUILD +++ b/community/dart/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 111753 2014-05-23 11:17:45Z arodseth $ +# $Id: PKGBUILD 112702 2014-06-05 11:48:54Z 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> @@ -6,22 +6,21 @@ # Contributor: Julien Nicoulaud <julien.nicoulaud@gmail.com> pkgname=dart -pkgver=1.4.0 +pkgver=1.4.2 pkgrel=1 pkgdesc='The dart programming language SDK' arch=('x86_64' 'i686') url='http://www.dartlang.org/' license=('BSD') -optdepends=('java-runtime: for dartanalyzer') makedepends=('setconf') options=('!strip') if [[ $CARCH == x86_64 ]]; then source=("$pkgname-$pkgver-64.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip") - sha256sums=('3c9c8afef58b49e0d03add60ee54e5c4d77c95990fadb16bc0c9045cc3ed34de') + sha256sums=('0ac41df11bdcbdcffe6b852116da338990224747c510875b5974cb579602a85a') else source=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip") - sha256sums=('107a67bc5a133551ba7c4ebc266fd521bae8133f79509c57bbe4d07b607926f9') + sha256sums=('bc7af36e4c88ca14a6e9ac3453157d3bcac9d3cdd069845a118013e87e980059') fi prepare() { @@ -30,8 +29,9 @@ prepare() { -or -type f -exec chmod 0644 '{}' + chmod +x "$pkgname-sdk/bin/"* - # Fix paths cd "$pkgname-sdk/bin" + + # Configure paths setconf dart2js BIN_DIR "/opt/$pkgname-sdk/bin" setconf dart2js PROG_NAME "/opt/$pkgname-sdk/bin/dart2js" setconf dartanalyzer SCRIPT_DIR "/opt/$pkgname-sdk/bin" @@ -41,9 +41,6 @@ prepare() { setconf dartfmt BIN_DIR "/opt/$pkgname-sdk/bin" setconf dartfmt SDK_DIR "/opt/$pkgname-sdk/" - # Fix missing "fi" and missing newline - echo -e "fi\n" >> pub - # Extract license (AUTHORS and LICENSE files are missing) head -n5 "../include/dart_api.h" > ../../LICENSE } |