community/dart: fix

This commit is contained in:
Kevin Mihelich 2017-12-20 13:02:01 +00:00
parent 66d1acde72
commit b9f51efe50

View file

@ -25,7 +25,7 @@ source_x86_64+=("$pkgname-$pkgver-64.zip::http://storage.googleapis.com/dart-arc
source_i686+=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip")
source_armv7h+=("$pkgname-$pkgver-arm.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-arm-release.zip")
sha512sums_x86_64=('ec050c51f2adae2fa6c57955b93f29580c07969965c33e4625bc94e44eb22244af616d82fc5fe85b8d13b8371b9874ff55baa400ab321883fbc83c1075fae219')
sha512ums_armv7h=('3102bf302f991d82cf4bf45e98381807519b0dfcf5638c05f442f87bbdaa0d924b19ca60a08630861c267cc7e093496cd5a5c0a4f55de879cf0a05009c587009')
sha512sums_armv7h=('3102bf302f991d82cf4bf45e98381807519b0dfcf5638c05f442f87bbdaa0d924b19ca60a08630861c267cc7e093496cd5a5c0a4f55de879cf0a05009c587009')
prepare() {
# Fix permissions
@ -36,8 +36,8 @@ prepare() {
cd "$pkgname-sdk/bin"
# Configure paths
setconf dart2js BIN_DIR "/opt/$pkgname-sdk/bin"
setconf dart2js PROG_NAME "/opt/$pkgname-sdk/bin/dart2js"
# 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"
setconf pub BIN_DIR "/opt/$pkgname-sdk/bin"
setconf pub SDK_DIR "/opt/$pkgname-sdk/"